IT 210 week 3 Text Problems: Due Friday in Assignment Section - 7282

Solution Posted by
3number
Solution Detail
Price: $5.00
  • From: ,
  • Posted on: Tue 10 Apr, 2012
  • Request id: None
  • Purchased: 0 time(s)
  • Average Rating: No rating
Request Description

  CheckPoint: Text Problems: Due Friday in Assignment Section

 

·         Complete Exercise 1 on p. 159. Note: Only do the while loop, not the do-while or for loops.

·         Add the following to your program:

 

o   Add a counter within the while loop that keeps up with the number of inputs that are entered.

o   Add a comment that determines if the total value is less than 100 or greater than 100. See the sample output.

o   Use switch statements to determine the total number of inputs.

·         See the example output.

 

o   Sample Output:

 

Enter numbers, one per line. Enter 0 to end:

7

8

6

5

5

9

8

0

Thank you. The total was 48.

The total number of inputs read: 8

The total is less than 100.

Solution Description

   CheckPoint: Text Problems: Due Friday in Assignment Section

 

·         Complete Exercise 1 on p. 159. Note: Only do the while loop, not the do-while or for loops.

Attachments
IT 210 Week 3 Checkpoint.docx
IT 210 Week 3 C...