Question: 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
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 is greater that 85, the integer 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. You do no not need to include the stdlib or system statements.
For example:
if the input is : 1 2 3 4 5 6 7 8 9 10
we expect the final outputted answer to be 1900
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
