Problems
Write a program that inputs the scores for three subjects that are incorrect and outputs the sum of the integer parts for the total score, calculates the average of the real numbers, and then outputs only the integer parts.
Example
70.5 95.5 68.5
sum 233
avg 78
Source
자기주도C언어프로그래밍