how do you do exponential value input and output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how do you do exponential value input and output

I want to input two numbers such as 2 and 3 and have it do the math such as 2^3=8.

9th Feb 2021, 2:44 PM
Benjamin McGee
Benjamin McGee - avatar
3 Answers
+ 4
Hi mention the language name in tag ,you can use "**" Operator for finding exponent , 2**3=8
9th Feb 2021, 2:48 PM
Abhay
Abhay - avatar
0
Please specify the language
9th Feb 2021, 3:21 PM
Atul [Inactive]
0
And your attempt too
9th Feb 2021, 3:21 PM
Atul [Inactive]