C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C++

Write a program to calculates x raised to the y power using while loop

5th Nov 2022, 8:08 PM
MO SHERIF
5 Answers
+ 2
It’s wrong
5th Nov 2022, 8:16 PM
MO SHERIF
5th Nov 2022, 8:14 PM
I am offline
I am offline - avatar
+ 1
MO SHERIF How? Can you explain
5th Nov 2022, 8:19 PM
I am offline
I am offline - avatar
+ 1
Snehil Pandey [OFFLINE] see my comment on your code for what is wrong.
5th Nov 2022, 10:55 PM
Brian
Brian - avatar
+ 1
MO SHERIF if you wish to find floating point powers, see this Q&A discussion: https://www.sololearn.com/Discuss/2978355/?ref=app
5th Nov 2022, 10:56 PM
Brian
Brian - avatar