Question: 3.1 Function calls (10 points) (a) Write the function prototype (just the first line) for a function named my Fun that receives as input two
3.1 Function calls (10 points) (a) Write the function prototype (just the first line) for a function named my Fun that receives as input two floats and returns a char. (b) Call function my Fun with input float variables x and y and assign the result to variable z. Declare x, y, and z before calling my Fun and initialize them to 1, 2.2 and 'a', respectively. You do not need to develop the function's body, just call the function based on its prototype. (c) Write a function called examCelebration that prints the following. You are free to use any prototype. Write a function call that uses the examCelebration. Note: You do not need to use loops to print the design. You can simply invoke a series of printf statements. * I rocked the exam
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
