Question: ( 1 4 points ) Write a complete C program that uses a FOR - loop to read in 1 0 integers. For each of

(14 points) Write a complete C program that uses a FOR-loop to read in 10 integers. For
each of the 10 integers, the program first multiplies the integer by 10, if the result obtained (i.e.,
after multiplying by 10) is greater than 85, the integer (as it was read in, i.e., before it was
multiplied) should be added into a sum that was initialized to zero. After the loop is completed,
multiply the sum by 100 and then print out the answer. Assume correct input.
For example, if the input from the keyboard is:
12345678910
we expect the final outputted answer to be: 1900

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!