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 to Expert-Tailored Solutions

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

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Genetic Databases

Authors: Martin J. Bishop

1st Edition

ISBN: 0121016250, 978-0121016258

More Books

Students also viewed these Databases questions

Question

=+75,400 9,120 333,920 470,965 546,365 ? ?

Answered: 1 week ago