Question: Write a C program that do the following: Declare a char array of size 10 called supervisorName. Prompt (ask) the user to enter his supervisor

 Write a C program that do the following: Declare a char

Write a C program that do the following: Declare a char array of size 10 called supervisorName. Prompt (ask) the user to enter his supervisor name. Read the name of the user in the supervisorName array. Prompt the user the following message: Please enter your grade entered by the supervisor and your expected grade. Read the grades into two variables of type float Compute the difference between the grades as follows (supervisor grade - expected grade) and print the result to the user as follows: The difference between the grades is RESULT The following are sample input/output: Please enter your supervisor name: Safaa Please enter your grade entered by the supervisor and your expected grade. 90 85 The difference between the grades is 5

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!