Question: this is a c++ question...please help...urgent Given an incomplete program below, complete the program by filling in the blanks with an appropriate C++ statement according

this is a c++ question...please help...urgent

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,a,b;

this is a c++ question...please help...urgent Given an incomplete program below, completethe program by filling in the blanks with an appropriate C++ statementaccording to the instructions stated in the comments. Note: Please write C

#include  using namespace std;  /*a) Declare prototype void function named getTime which has a double pointer as a parameter (2 marks)*/ Answer; /*b) Declare prototype void function named checkNoonAMPM which has a double pointer (1st parameter) and integer pointer to constant (2nd parameter) as parameters (2 marks)*/ Answer; int main() { double a; const float noon = 12; getTime(&a); checkNoonAMPM(&a, &noon);  return 0; } /*c) Define the getTime function to get the time (in 24Hrs format) from the user input. Example 1.30 pm will become 13.30. Please use a parameter named b (4 marks)*/ Answer { cout cout} 

1 #include using namespace std; 2 13 4 /*a) Declare prototype void function named getTime which has a double pointer as a parameter (2 marks)*/ 5 16 7 8 9 10 /*b) Declare prototype void function named checkNoonAMPM which has a double pointer (1st parameter) and integer pointer to constant (2nd parameter) as parameters (2 marks)*/ 11 12 13 ; 14 15 16 17 int main() { double a; const float noon = 12; 18 19 20 21 getTime(&a); checkNoonAMPM(&a, &noon); 22 23 return 0; 24 25 } 26 27 /*c) Define the getTime function to get the time (in 24Hrs format) from the user input. Example 1.30 pm will become 13.30. Please use a parameter named b (4 marks)*/ 28 29 { 30 31 cout

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!