Question: Write the following program in C basic with comments. 1. A main function with the function calls to GetL and GetD. Declare any variables and
Write the following program in C basic with comments.
1. A main function with the function calls to GetL and GetD. Declare any variables and assign values as needed. 2. Include the function definitions described below. Declare any variables and assign values as needed. 3. Add the function prototypes You do not need to include comments or preprocessor directives Function 1. Write a function definition called GetL that takes no arguments and returns a character. The function will prompt the user to enter a character, get a character, and return it. Function 2. Write a function definition called GetD that takes no arguments and returns a double. The function will prompt the user to enter a double, get a double, and return it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
