Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started