Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a complete C program that uses a FOR-loop to read in 50 intergers. For each of the 50 intergers, if it greater than 100,

Write a complete C program that uses a FOR-loop to read in 50 intergers. For each of the 50 intergers, if it greater than 100, it should be added into a sum that was initialized to zero. After the loop, multiply the sum by 85 and print out the answer. Assume correct input

Please write out code neatly so I can study it!

image text in transcribed

- 4. (14 points) Write a complete C program that uses a FOR-loop to read in 50 integers. For each of the 50 integers, if it is greater than 100 , it should be added into a sum that was initialized to zero. After the loop, multiply the sum by 85 and then print out the answer. Assume correct input

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions