+ 1
How do you output numbers in squared form or radical form? c++ (tell me how to and data types used to do so)
A code will be nice (@Hatsy Rei send me the Numbers code after you are done please)
5 Réponses
+ 5
What do you mean, in that form? Just like "5^2"?
+ 5
Do you mean only square root? or any (like 5th root, et cetera)?
+ 5
Well, to show what you mean to a user, you can use words: "sqrt(5)" or you can use the actual symbol using ascii or unicode values.
+ 2
Then what about radicals?
+ 2
usually ill only use square root and cube root