dandeliondream
asked on
how do i display subscript
i want to cout << "X1, Y1, Z1";
Due to the system I cannot display the desired result. All the 1s beside X,Y and Z are subscripts.
How do i do this in c++?
Due to the system I cannot display the desired result. All the 1s beside X,Y and Z are subscripts.
How do i do this in c++?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Infinity08,
hmmm...i'm unsure if i can use unicode. i'll check with my lecturer. Thanks for the info
hmmm...i'm unsure if i can use unicode. i'll check with my lecturer. Thanks for the info
what do you mean with 'subscripts'? Do you mean these three are arrays? If so you can output them like this:
cout << X[1] << ", " << Y[1] << ", " << Z[1];
Hope that helps,
ZOPPO