Ok, here is another question I got confused in the exam paper. As far as I know, to calculate some power of a number is like this
pow (x,y)
But then, the question mentions about the while repetition. How to end it? Or what is the while (condition) in this case? Someone help me here again plz. And reply fast cuz I got programming exam to tomorrow and i need to know how this question is done. (The question is below here)
------------------------------------------------------------------------------------
(Exam Question): Write a C program that calculates x to the y power. The program should have a while repetition control structure.(5 marks)