Question: need a c code (b) You will write a program that will do the following: prompt the user enter characters from the keyboard, you will

need a c code need a c code (b) You will write a program that will

(b) You will write a program that will do the following: prompt the user enter characters from the keyboard, you will read the digit characters (' 0 ',' 1 ', '2',..., '9') until reading the letter ' Q ' You are to read the characters from the keyboard using scanf. In this lab we will use a while loop. We will read characters from stdin until we read the character ' Q '. Example input 56899232210606Q Since characters are integers you will determine the average character (average when one looks at the character as an integer (its ASCII value). To achieve this you will need to compute the sum of the ASCII values of the characters. Remember the average is a floating value. You are to output the average as a floating value. You should display the characters that lie below and above this

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!