You are on page 1of 1

PFC - Workshop 05

Work in Progress

Design and code a program that lists the work in progress in a consulting company in project order.
Your program prompts for and accepts

 a project number,
 a service rate and
 the hours spent

for each project being worked on.

Design your program according to structured design principles. Your program uses parallel arrays and
includes functions to validate the input and to sort the project information by project number. You may
assume that there are no more than 100 projects to process, but write your code so that you can change
this limit by editing a single statement.

Preface each function header with a comprehensive description of the function purpose, the function
parameters and the function return value.

The output from your program looks something like:

Work in Progress Organizer


==========================
Project : 3289
Rate : 120.00
Hours Spent : 35
Project : 1259
Rate : 100.00
Hours Spent : 25
Project : 2231
Rate : 93.50
Hours Spent : 75
Project : 0

Work in Progess
===============
Project Rate Hours Value
--------------------------------
1259 100.00 25 2500.00
2231 93.50 75 7012.50
3289 120.00 35 4200.00
--------
Total Work in Progress 13712.50

You might also like