Help Please ASAP

Apr 12, 2016 at 7:22pm
Can someone please give me some help. My instructor wants us to create a program using a flowchart which he has given. He expects to learn how to create them by using resources such as google and others. which is due the night before class, when we get to class he explains it which doesn't help.

flowchart:

main() --> Declare Real hoursWorked, payRate, grossPay --> getHoursWork (hoursWorked) --> getPayRate (payRate) --> hoursWorked> BASE_HOURS --> [If false] calcRegularPay (hoursWorked, payRate, grossPay) --> [If True] calcPayWithOT (hoursWorked, payRate, grossPay) --> display "The Gross pay is $", grossPay --> end

Thanks for any help!
Apr 12, 2016 at 8:29pm
Isn't a flowchart usually drawn with boxes?
start
  |
[Declare Real hoursWorked, payRate, grossPay]
  |
[getHoursWork (hoursWorked)]
  |
[getPayRate (payRate)]
  |
[hoursWorked> BASE_HOURS] (If false)
(If True)                          \
  |                               [calcRegularPay (hoursWorked, payRate, grossPay)]
  |                                                             |
[calcPayWithOT (hoursWorked, payRate, grossPay)]                |
                                             \                  |
                                          [display "The Gross pay is $", grossPay]
                                                     |
                                                    end

Contents of main(), isn't it?
Some variables, some function calls, one control structure.
Apr 12, 2016 at 11:53pm
yes, it drawn fairly similar to that i just didn't know how to put it in word form. Thats how it looks and he wants us to convert it into a program.
Apr 13, 2016 at 11:25am
And what, specifically, are you having trouble with?
Topic archived. No new replies allowed.