Question: Read four integers from input and assign them to side 1 , side 2 , side 3 , and side 4 , respectively. Then, output

Read four integers from input and assign them to side 1, side 2, side 3, and side 4, respectively. Then, output the sum of the four integers, followed by a newline.
Click here for examples
Ex 1: If the input is 24323911, then the output is:
106
Ex 2: If the input is 1645,42,28, then the output is:
131
#include =24;2=32;3=39;1+4
 Read four integers from input and assign them to side 1,

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