program6 - CS 110A Rule\handouts\pgm6 Program 6 Completion...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 110A Program 6 Completion Date: ________ Rule \handouts\pgm6 Modify your programming exercise #5 to make main() a control function, that is, main() will control the execution of the other functions that do the actual work. See requirement #2 for details. Requirements: 1. Include header comments that give the following information: source file name your last name, your first name 110A - your section number Task of program 2. main() should call seven void functions which are described below: a. Arguments: none Task: Outputs the welcome message b. Arguments: none Task: Sets the format for floating-point output c. Argument: employee name as an array argument Task: Inputs the name of the employee d. Argument: previous annual salary by reference Task: Inputs the previous annual salary e. Arguments: previous annual salary by value annual salary increase by reference retroactive pay due by reference new annual salary by reference new monthly salary by reference employee counter by reference
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/01/2009 for the course CS CS 110A taught by Professor R. during the Spring '08 term at City College of San Francisco.

Page1 / 2

program6 - CS 110A Rule\handouts\pgm6 Program 6 Completion...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online