if i want to print 2 to the power 3 normally what we do is 2^3. is there any other way that i can print it in the console in the way that we normally write it on a paper.
does anyone know it pls tell me.
smsamrc 0 Newbie Poster
Recommended Answers
Jump to PostYes, read it in as a String and print it out. ?
Jump to PostYes, read it in as a String and print it out. ?
Actually what smsamrc is asking is to print at the console something like this:
To have 2 as base and 3 to be smaller and to the upper right corner of 2.
All 6 Replies
BestJewSinceJC 700 Posting Maven
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
LevelSix 12 Junior Poster in Training
BestJewSinceJC 700 Posting Maven
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
smsamrc 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.