Ask Question

Write a statement that declares a prototype for a function powerTo, which has two parameters. The first is a double and the second is an int. The function returns a double.

+5
Answers (1)
  1. 20 April, 04:26
    0
    Following are the statement of the program in the C+ + Programming Language.

    //prototype of the function

    double powerTo (double, int);

    Explanation:

    In the following statement which is written in the C+ + Programming Language.

    The function prototype tells us what type of data type return by that function. We declare the prototype of the function "powerTo () " which returns the double and pass two arguments first one is double data type and the second one is integer data type.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Write a statement that declares a prototype for a function powerTo, which has two parameters. The first is a double and the second is an ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers