0

Need help pleasešŸ™

What code to use for superscript and subscript in c++ Iike this C1e^(x) 1 should be a subscript and x should be a superscript https://code.sololearn.com/cUeXf9oZ02Jy/?ref=app

14th May 2020, 4:04 PM
Rowena B. Ballecer
Rowena B. Ballecer - avatar
4 Answers
0
There is no usage of superscript, or subscript in c++. But ^ is bitwise exclusive opearator... See this: https://www.sololearn.com/learn/4074/?ref=app Edit: Why included others, not related code..? Can you remove it..?..
14th May 2020, 4:09 PM
Jayakrishna šŸ‡®šŸ‡³
0
Thank you for the answeršŸ–¤ it is a part of the code on my project and i just really cannot find what code to use for the output to be a superscript and subscript
15th May 2020, 9:14 AM
Rowena B. Ballecer
Rowena B. Ballecer - avatar
0
AwtšŸ¤¦šŸ˜¬ sorry I don't know how that code was included on my post . (I cannot find where to click to remove it)
15th May 2020, 9:16 AM
Rowena B. Ballecer
Rowena B. Ballecer - avatar
0
If you mean, to display output as superscript or subscript, the ascii charecters can help you.., See these link: https://stackoverflow.com/questions/4038377/superscript-in-c-console-output https://www.sololearn.com/Discuss/794515/how-can-you-output-something-as-a-superscript-and-subscript-in-c Edit: (about delete link) By edit option, you can select link, and press back button.. It just like clear text there...
15th May 2020, 9:40 AM
Jayakrishna šŸ‡®šŸ‡³