04-24-2011, 06:17 PM
Dear student!
Function is part of a program. Individually you can not execute that function. Your function is correct. But you need to write complete program that will include this function. That program will be compiled and executed.
Program containing function to calculate power of number is given in lecture 9. Please consult lecture 9. Try sample programs given in the lecture. Your concept will be clarified.
Function is part of a program. Individually you can not execute that function. Your function is correct. But you need to write complete program that will include this function. That program will be compiled and executed.
Program containing function to calculate power of number is given in lecture 9. Please consult lecture 9. Try sample programs given in the lecture. Your concept will be clarified.
