• 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
Improve accessibility of this page
0 Votes
What is a simple and easy way to learn ruby? :)
0 Votes
How do i make a lexer and parser
1 Votes
Help
1 Votes
Data analysis
0 Votes
Lesson Takeaways
0 Votes
If we already have the DELETE command in SQL, why do we need TRUNCATE?
2 Votes
Order of AI courses
0 Votes
Saved code
0 Votes
I’m a beginner and looking to learn the basics
0 Votes