Question: Integers appleGrams 1 , appleGrams 2 , appleGrams 3 , and kidsCount are read from input. Compute the average grams of apples each kid receives
Integers appleGrams appleGrams appleGrams and kidsCount are read from input. Compute the average grams of apples each kid receives using floatingpoint division, and assign the result to avgGrams.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
