Program 115b
(A Chant-2, 4, 6, 8.)
Program Description: Write a program that will print out all the even numbers from 2-36 inclusive. Print the numbers in a horizontal row with the spacing shown.
Statements required: ouput, loop control
file names: prog115b=<period>=<lastname>
Sample Output:
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36
Br Ca Ho LaN Law Mac McH McL Po Sm St Va Not Listed
Last Name :
Email : If you don't 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 in on time, being resubmitted due to a failed submission (I have a copy of the original submission). This assignment is a corrected submission for half the missed credit. This assignment is one day late and will lose 15%. This assignment is more than one day late (half credit at best). This assignment is late because of an EXCUSED absence. This assignment is being resubmitted at the request of the teacher.
Updated: Wednesday, January 13, 2010 11:38 AM