Ask Question
10 September, 04:09

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.

+1
Answers (1)
  1. 10 September, 05:22
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers