+ 1

Two numbers are entered through the keyboard. Write a program to find the value of one number raised to the power of another.

21st Nov 2021, 5:04 AM
꧁𓊈𒆜🅰🅻🅾🅺 🅺🆄🅼🅰🆁 🅿🅰🅻𒆜𓊉꧂
꧁𓊈𒆜🅰🅻🅾🅺 🅺🆄🅼🅰🆁 🅿🅰🅻𒆜𓊉꧂ - avatar
2 Respostas
+ 2
Alok Kumar Pal You need to put effort then only community will help you. Attach your code
21st Nov 2021, 5:25 AM
R🍁🇮🇳
R🍁🇮🇳 - avatar
+ 1
Also mention the language in which you want to do this. But no worries, Here's the answer: a = your input; b = your input; print(a**b); a**b means a raised to the power b It will definitely work in Javascript and python But in Java, it will not work, so here is the alternative: use Math.pow() like this- Math.pow(a, b); It will also raise a to the power b
21st Nov 2021, 7:21 AM
Arnav Gumber
Arnav Gumber - avatar