Pseudocode Structure Prg 210

Week Three Pseudocode Structure
Module: Invoice
INPUT PROCESS OUTPUT

Customer ID
Customer First Name
Customer Last Name
Customer Mailing Address
Customer Phone
Product Number
Product Quantity
Product Description
Costumer Credit Card
Connect to Database
Determine product cost
Calculate State Tax
Calculate Federal Tax
Calculate Total Cost
Bill Customer Print customer invoice with Customer first and last name.
Customer Address
Order Information
sales tax and total cost.
Generate a report for finance department

INPUT:
Customer ID, First Name, Last Name, Mailing Address, Phone, Product Number, Quantity, Description, Credit Card

WHILE LOOP
IF Hours are less than 40 THEN calculate Pay is equal to Hours time Rate
ELSE Pay is equal to 40 time Rate plus (Hours minus 40) times Rate time 1.5

CALCULATE
Gross payment, State Tax, Federal Tax, Social Security, Net Payment

OUTPUT
Print out Employee Last Name, Employee First Name, Employee Mailing Address, Employee Phone, Hours, Rate, Gross Pay, Federal Taxes, State Taxes, Social Security, Net Pay, Print Check.

Module:   Weekly Paycheck
INPUT PROCESS OUTPUT

Employee ID
Employee First Name
Employee Last Name
Employee Mailing Address
Employee Phone
Hours
Rate

Connect to Database
Calculate Gross Pay
Calculate Federal Taxes
Calculate State Taxes
Calculate Social Security
Calculate Net Pay

Employee Last Name
Employee First Name
Employee Mailing Address
Employee Phone
Hours
Rate
Gross Pay
Federal Taxes
State Taxes
Social Security
Net Pay
Print Check

INPUT:
Employee First Name, Last Name, Mailing Address, Phone, Hours, and Rate.

WHILE LOOP
IF Hours are less than 40 THEN calculate Pay is equal to Hours time Rate
ELSE Pay is equal to 40 time Rate plus (Hours minus 40) times Rate time 1.5

CALCULATE
Gross payment, State Tax, Federal Tax, Social Security, Net Payment

OUTPUT
Print out Employee Last Name, Employee First Name, Employee...