Posted on 2004-10-19
How woulld you do this question...
1. 20 students at college were asked which of the following sports they preferred, Snowboarding, Football, Cricket, Tennis.
Write the pseudo code for a program, which displays the following on screen prompts that the user will respond to
You are student number 1.
Which sport do you prefer:
(S)nowboarding, (F)ootball, (C)ricket, (T)ennis.
This will be displayed for each student. The program will display the following output the following:
There were 20 students asked
5 prefer Snowboarding
3 prefer Football
7 prefer Cricket
5 prefer Tennis
Code your design in Pascal.
BTW its not home work its just that i dont understand how to do the number part