Friday, June 29, 2007

Assignment No. 3: Coding the Algorithm

Instruction:This assignment should be computerized with inputs and outputs.
Points: 20 points.

Problem:
Develop a solution both in flowchart and pseudocode for the following problem:

Given a classroom full of people:
  • find the average height
  • the number of people
  • the height of the tallest person
  • the height of the smallest person
All measurements should be in meters.

From the algorithm you formulated from the previous assignment, as shown above, transform it into a Java program.

No comments: