Question: Two integers are read from input into variables num _ people 1 and num _ people 2 . Assign avg _ people _ per _
Two integers are read from input into variables numpeople and numpeople Assign avgpeopleperteam with the average people per team. Then, convert avgpeopleperteam to an integer.
Click here to show example
Ex: If the input is:
then the output is:
Note: The average is the sum of all values divided by the number of values.
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
