Assignment 6 - Display Please enter the hourly pay for the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CIS 110 David Kegler 5/25/2011 Assignment 6 Module Main () //Declare variables Declare Real Hours Declare Real Pay //Validation of information While Hours < 0 OR Hours > 40 OR Pay < 7.5 OR Pay > 18.25 Display “ERROR” Display “Hours cannon be less than 0 or more then 40” //Get the number of hours worked Display “Please enter the number of hours worked” Input Hours //Get the hourly pay for employee
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Display Please enter the hourly pay for the employee Input Pay Call Module Work_Done End Module //Module to calculate the correctly entered hours and pay Module Work_Done Declare Real Result Set Result = Hours * Pay Display For, Hours, hrs worked at $, Pay, the gross pay for the employee is $, Result End Module...
View Full Document

This note was uploaded on 02/17/2012 for the course CIS 110 110 taught by Professor Tucker during the Spring '11 term at Strayer.

Ask a homework question - tutors are online