1.1 prompt
player 1 for country 1.2 read in country 1.3 prompt player 1 for capital 1.4 read in capital 1.5 clear the screen 2.1 prompt player 2 for answer
3.1 if answer is
correct |
2. Code the Program
|
PROGRAM quiz;
{a quiz game} VAR BEGIN
|
3. Test the Program
|
country | capital | answer | result |
France | Paris | Paris | correct |
France | Paris | paris | |
France | Paris | 77 | |
Venezuela | Caracas | Caracas | |
USA | Washington | Washington |