Page not loading? Try clicking here.
Placeholder

#157

Array1 - Formative Assessment 8 1s - MB

Problems

Write a program that inputs integers less than 100 and, when 0 is input, outputs the number of multiples of 5 among the integers input up to that point, as well as the average of the sum. The average is output to one decimal place.


Example

35 10 23 100 64 51 5 0
Multiples of 5 : 4

sum : 150
avg : 37.5

Source

자기주도C언어프로그래밍

You must sign in to write code.