mod35tbabe
New Member
- Joined
- Sep 17, 2004
- Messages
- 13
Ok thought I understood how to do this but I dont.
I know ur sposed to have Input, Expected and Actual results but I dont know how to use that.
Heres an example:
Perform a desk check on the following algorithm to determine the output if the test data 7 was entered.
BEGIN MAINPROGRAM
read in num
loopcount = 1
REPEAT
loopcount = loopcount + 1
num = num - loopcount
print "#"
UNTIL loopcount > num
END PROGRAM
If anyone could help thanks
I know ur sposed to have Input, Expected and Actual results but I dont know how to use that.
Heres an example:
Perform a desk check on the following algorithm to determine the output if the test data 7 was entered.
BEGIN MAINPROGRAM
read in num
loopcount = 1
REPEAT
loopcount = loopcount + 1
num = num - loopcount
print "#"
UNTIL loopcount > num
END PROGRAM
If anyone could help thanks