Chp 8 Labs

# Chp 8 Labs - Alexa Rocha PT1420 Unit 8 Labs 8.1 Step 2 The...

• Lab Report
• 6
• 100% (1) 1 out of 1 people found this document helpful

This preview shows pages 1–3. Sign up to view the full content.

Alexa Rocha PT1420 Unit 8 Labs 8.1 Step 2 The hour is 1 continue loop till the hour is 24 then stop. Step 3 Constant Integer Max_Minutes = 60 Declare Integer minutes For minutes = 1 to Max_Minutes Display “The minute is “, minutes End For Step 4 Constant Integer Max_Seconds = 60 Declare Integer seconds For seconds = 1 to Max_Seconds Display “The second is “, seconds End For Step 5 Step 6 The number is 2 The number is 4 The number is 6 The number is 8 The number is 10

This preview has intentionally blurred sections. Sign up to view the full version.

Alexa Rocha PT1420 Step 7 Constant Integer Max_VALUE = 200 Declare Integer counter For counter = 20 to Max_VALUE step 20 Display “The number is “, counter End For Step 8 Step 9 Enter the number of students in class Display however many numbered students you enter Step 10 Step 11 Loop five times, each asking you to enter a number Displaying the total at the end Step 12 Declare Integer counter Declare Integer totalAge = 0 Declare Real averageAge = 0 Declare Integer age Declare Integer number Display “How many ages do you want to enter: “ Input number For counter = 1 to number Display “Enter age “ Input age
This is the end of the preview. Sign up to access the rest of the document.
• Summer '14
• Ring, Natural number, Declare Integer, Alexa Rocha

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern