Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access with AI-Powered 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