i don't know what you need, the pesudo code is your problems which lead to the code !!! or the payroll system itself....
farag
Junior Poster in Training
61 posts since Feb 2008
Reputation Points: 7
Solved Threads: 2
Simply tell the story:
open input file
if the file is not opened
print message
stop
endif
// read_the_next_record means:
// read hours, payrate, Overtime, Regpay
while read_the_next_record is OK
... see OP pseudocode
endloop
close input file
Pseudocode is not a formal language. Your teacher's pseudocode != my pseudocode. For example, I hate Basic-style pseudocodes as yours in OP ;)
See http://en.wikipedia.org/wiki/Pseudocode
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348
but BASIC is just glorified pseudocode, isn't it? :P
jephthah
Posting Maven
2,587 posts since Feb 2008
Reputation Points: 2,143
Solved Threads: 179
but BASIC is just glorified pseudocode, isn't it? :P
Exactly! ;)
ArkM
Postaholic
2,001 posts since Jul 2008
Reputation Points: 1,234
Solved Threads: 348