Question: Read three integers from input and assign the integers to bananaBag 1 , bananaBag 2 , and bananaBag 3 , respectively. Then, output the sum

Read three integers from input and assign the integers to bananaBag1, bananaBag2, and bananaBag3, respectively. Then, output the sum of the three integers, followed by a newline.
Click here for example 1
Ex: If the input is 749, then the output is:
20
Click here for example 2
Ex: If the input is 386, then the output is:
17

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 Finance Questions!