Question: c++ Given an incomplete program below, complete the program by filling in the blanks with an appropriate C++ statement according to the instructions stated in

c++

c++ Given an incomplete program below, complete the program by filling in

the blanks with an appropriate C++ statement according to the instructions stated

in the comments. Note: Please write C ++ statements WITHOUT blank spaces

Given an incomplete program below, complete the program by filling in the blanks with an appropriate C++ statement according to the instructions stated in the comments. Note: Please write C ++ statements WITHOUT blank spaces unless it is absolutely needed. Example: int num, ab; #include using namespace std; 1 2 4 /*a) Declare prototype function named getTime to return a type double pointer and it has an integer as parameter (2 marks)*/ 15 16 j 8 9 10 /*b) Declare prototype void function named CalcTotSalary that have two double pointers (1st & 2nd parameters) and integer (3rd parameter) as parameters (2 marks)*/ 11 12 1 13 14 15 16 int main() { int num; double salary = 0; 17 18 19 20 21 cout > num; double "p = getTime(num); CalcTotSalary(P, &salary, num); cout 17.00) 54 55 56 *salary = j 57 58 else 59 *salary j 60 61 }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!