Program 54b

(sum)

 

 

Program Description:  Get four numbers from the user and assign them to four different variables.  Then have the computer sum them and store the sum in a fifth variable.  Use variable names of num1, num2, num3, num4, and sum.

 

Statements Required:  assignment statement, cout, endl

 

Sample Output:

 

 

  

Period 1

Ara Bel Cas Cla Ele
Cox Fee Ham Hoo Kan
Mat Miz New Pol Red
Shi Sny Sto Ted
Tei Wal Hug
Der Not Listed

Period 6

Ada All Als Chal
Fon Mea Ove Pop Ree
Rob Schm Schu Tho Wil Zim
Rec Not Listed

 


Last Name :

Email :
If you dont have an email address, use student@brentwoodhigh.com

Select one of the following that describes when and why you are filling out this form:
This assignment is in on time.
This assignment is late.
This assignment is late because of an EXCUSED absence.
This assignment is being resubmitted at the request of the teacher.


 

Updated: Friday, February 13, 2009 7:00 AM