patulong naman po sa may alam ng pseudocode
ito po ung pinapagawa
Pseudocode that will select letter from A to D and that will display a number of times you select the letter other wise will display "please select a valid letter".After choosing letter , will ask a question if you want to try again. selecting yes will proceed to choose letter from A-D, while selecting No it will display "thank you and come again" or else will display "invalid letter of choice."
PAHELP NAMAN PO sa may alam ito napo ungnagwa ko ..nalito nako dun sa display the number of times ... help nman po
BEGIN
SET letter=0;
SET akame;
Drawd:
SHOW “Enter a letter from A-D”;
INPUT letter;
(DIKO ALAM ILALAGAY HELP)
DISPLAY “Do you want to start over? [Y/N]”;
IF akame==’y’ OR akame==’Y’ THEN
goto Drawd;
ELSEIF akame==’n’ OR akame==’N’ THEN
SHOW “Thank you and come again.”;
ELSE
SHOW “Invalid letter of choice.”;
goto akame;
ENDIF
END