Question: 2. Consider the following function declarations: double First(double a, double b); int Second(char charl, double c, double & d); string Third(string strl, string str2, int

 2. Consider the following function declarations: double First(double a, double b);
int Second(char charl, double c, double & d); string Third(string strl, string
str2, int x, double y); void Grade(double score, char & grade); Answer

2. Consider the following function declarations: double First(double a, double b); int Second(char charl, double c, double & d); string Third(string strl, string str2, int x, double y); void Grade(double score, char & grade); Answer the following questions: a. How many parameters does the function First have and what are those? What is the return type of this b. Identify the value parameter and reference parameter c. Call the function Grade with a score of 85, and display d. Write a C++ statement that prints the value returned by function? for the function Second the grade the function First with the actual parameters 2.5 and 7.8 e. Call the function Third with suitable values (use your own data)

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!