English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am making a 2-player educational quiz. When the user enters in the program, he enters his name, the name of the second player and which subjec they want their questions to be from. Here if they choose SCIENCE they have a collection of 10 questions to answer and points are awarded for the one which writes the good answer!

2007-03-09 22:33:02 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

You can make it with record like that:
type collection=record
q1,q2,q3,q4,q5,q6,q7,q8,q8,
q10,a1,a2,a3,a4,a5,a6,a7,
a8,a9,a10:string[30];end;
list=record
name,secname:string[20];
subject:collection;end;
var x:collection;

2007-03-10 20:32:52 · answer #1 · answered by Fr0z3nByt3 3 · 0 0

You can use an array to que up the questions.

2007-03-09 22:42:22 · answer #2 · answered by Tasm 6 · 0 0

fedest.com, questions and answers