• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

how to add power to a number in c++. for example how get this as a output 2²=4?

c++howto
15th Nov 2018, 4:58 PM
Nitin Madas
Nitin Madas - avatar
2 Answers
+ 3
https://code.sololearn.com/cgY511x2edm2/?ref=app
15th Nov 2018, 5:08 PM
Ankit
Ankit - avatar
+ 2
You can find char codes for other unicode chars here: https://theasciicode.com.ar/extended-ascii-code/superscript-two-exponent-2-square-second-power-ascii-code-253.html
15th Nov 2018, 5:15 PM
Ankit
Ankit - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Excuse me, why do they always ask us to input without telling us what it is for in python.
2 Votes
Quiz
0 Votes
Sockets, etc
0 Votes
Should i learn python more or HTML?
1 Votes
Any Sololearn Chat Groups that I could Join?
0 Votes
NecesitĂł ayuda
1 Votes
Does solving a code coach actually give XPs?
2 Votes
C++ Vectors
0 Votes
A Little Question Here!
1 Votes
Code challenge
0 Votes