Question: Integers appleGrams 1 , appleGrams 2 , appleGrams 3 , and kidsCount are read from input. Compute the average grams of apples each kid receives

Integers appleGrams1, appleGrams2, appleGrams3, and kidsCount are read from input. Compute the average grams of apples each kid receives using floating-point 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!