top-rated free essay

# integers

By jedclampet20132013 Oct 11, 2013 3300 Words
Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate. Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

Declare hours as integer
Declare number as integer
Declare response as character
Repeat
Set hour = 0
Write “This program can calculate your total hours worked” Write “Enter the number of hours worked on Monday:” Write “Enter 0 when you are done”
Input number
While number != 0
Set hours = hours + number
Write “Enter your hours for the next day or 0 if you are done:” Input number
End While
Write “Your total hours worked are” + hours
Write “Add more hours? (Y or N)”
Input response
Until response == “N”

1. A while loop will not execute the body of the code if you have your test condition incorrect. 2. If the test data is true then the body runs once:
Declare hours As Integer
Set hours = 39
While hours < 39
Write hours
Set hours = hours + 1
The code can run only once, because the body can be true once.

3. If you begin your loop with “While True” it will not terminate.

## Related Documents

• ###### Integers

...﻿2013 MTAP-DepEd Program of Excellence Mathematics Grade 1 Session 1 I. Read the following numbers. 1. 89 2. 106 3. 736 4. 245 5. 899 6. 302 7. 720 8. 1200 9. 5075 10. 7001 II. What is the place value of each un...

Read More
• ###### Integers and Dollars

...Febuary 11, 2013 AT&T U-verse On Demand Terrebonne Parish 6:00 p.m. In the episode of Pawn-stars 01-14 “Herd that” a lady came in with a Manhattan Project Souvenir from 1945. The Manhattan Project was a top secret plan to develop the atomic bomb. The project required 30,000 people to complete and cost two billion dollars, or abou...

Read More
• ###### Integers and Question Number

...﻿Question Number 1 Points: 5.00/5.00 Question Text What event marks the line between the Old English and Middle English periods? Your Answer B. the Norman invasion Question Number 2 Points: 0.00/5.00 Question Text What was the effect of the Norman conquest on the language of Britain? Your Answer . The upper class spoke Fren...

Read More
• ###### Addition and Subtraction of Integers

...Addition and Subtraction of Integers Addition of Positive Integers Consider the addition of 2 + 3. The plus sign, +, tells us to face the positive direction. So, to evaluate 2 + 3, start at 2, face the positive direction and move 3 units forwards. This suggests that: Positive integers can be added like natural numbers. ...

Read More
• ###### Integers and V. Tenant Boarder

...ENG1511Student no: 35765354 Assignment 01 Unique number: 286895 Section B: Language 1. The style of the story is informal (short direct sentences) and detailed (explained everything to the point). 2. The tone of the sort is casual. The writer talks about his “homeboys” and back rooms. 3. “Dictionary” I. Te...

Read More
• ###### Positive Integers

...but dislike lima beans? (1) 120 students eat in the cafeteria. (2) 40 of the students like lima beans. 3. 196-!-item-!-187;#058&000141 How many different prime numbers are factors of the positive integer n ? (1) Four different prime numbers are factors of 2n. (2) Four different prime numbers are factors of n2. 4. 250-!-item-!-187;#058&0...

Read More
• ###### Unsigned Integer

...Signed unsigned dan Integer An integer is a number with no fractional part; it can be positive, negative or zero. Integer adalah nomor tanpa bagian pecahan, bisa positif, negatif atau nol. In ordinary usage, one uses a minus sign to designate a negative integer. Dalam penggunaan biasa, satu menggunakan tanda minus untuk menunjuk sebuah integer...

Read More
• ###### Integer and Question

...answer the question asked (C) BOTH statements (1) and (2) TOGETHER are sufficient to answer the question asked, but NEITHER statement ALONE is sufficient (D) EACH statement ALONE is sufficient to answer the question asked (E) Statements (1) and (2) TOGETHER are NOT sufficient to answer the question asked, and additional data are needed 13. If n ...

Read More

## Discover the Best Free Essays on StudyMode

Conquer writer's block once and for all.

##### High Quality Essays

Our library contains thousands of carefully selected free research papers and essays.

##### Popular Topics

No matter the topic you're researching, chances are we have it covered.