CICS1214-091 Homework 3: Loops

Due: February 27, 2007

Objectives

In this assignment, you will:
  1. Predict the output of looping programs.
  2. Draw flowcharts for looping programs.
  3. Write a program that uses a while loop to input course test grades until the user is done, and print out a "histogram" of grades.

Part 1: Course Programming Standards

Remember to use the course standards below.

Part 2: Loop Assignment

a. Feb 20: C++ book, Chapter 10. The following exercises are due at the end of class, on paper.

b. C++ Book, Chapter 10. Use any remaining time on Feb 20 to design the program below. Draw a flowchart for this program, and design at least 2 sets of input data and matching outputs as test cases, and hand these in on paper by the end of class on Feb 22. The program is due at 11:59 pm on Tuesday, Feb 27.