Browse Source

functional 19: array für Antworten 6-15

remotes/origin/Christian
Christian Reum 11 months ago
parent
commit
e4cfa5f49d
  1. 9
      src/wwm.c

9
src/wwm.c

@ -94,6 +94,15 @@ void wwm(){
"What is the chemical symbol for silver?" "What is the chemical symbol for silver?"
}; };
const char* answers2[][4] = {
{"1989", "1998", "1994", "1990"},
{"Buenos Aires", "Sao Paulo", "Brasilia", "Rio de Janeiro"},
{"Thomas Edison", "Marie Curie", "Isaac Newton", "Albert Einstein"},
{"Australia", "Greenland", "Madascar", "Borneo"},
{"Au", "Ag", "Su", "Si"}
};
for (int r = 1; r <= 16; r++){ for (int r = 1; r <= 16; r++){
if (r == 16) { if (r == 16) {
printf("Congratulations ! You have won 1.000.000 $"); printf("Congratulations ! You have won 1.000.000 $");

Loading…
Cancel
Save