I'm like 90% sure this is wrong ......... I need help
This wot i had to do:
Write a procedure that will check for paid-up members. This procedure will be included in the
program that the secretary will use when checking if people are allowed into meetings.
And this is wot i came up wit.
CODE
(There are no global variables)
Main
choice is a local variable OF TYPE Integer
WHILE choice < > 3
DO
DISPLAY “Would you like to all the soccer club members?”
DISPLAY “Select Yes or No”
DISPLAY “1.Paid-up Members”
DISPLAY “2.None Paid-up Members”
DISPLAY “3.End the program”
REPEAT
ACCEPT choice
IF choice < 1 or choice > 3
THEN DISPLAY “Error: choose again”
ENDIF
UNTIL choice > 0 AND choice < 3
IF choice = 1 THEN Paid-up Members
IF choice = 2 THEN None Paid-up Members
ENDDO
DISPLAY choice
UNTIL choice = 3
ENDPROCEDURE
Help!!