|
@ -10,11 +10,16 @@ void casualQuiz() { |
|
|
printf("Print aus der Funktion Casual Quiz"); |
|
|
printf("Print aus der Funktion Casual Quiz"); |
|
|
int index = 0; |
|
|
int index = 0; |
|
|
char* easy_fragen[] = { //eingabe der Fragen in ein Array |
|
|
char* easy_fragen[] = { //eingabe der Fragen in ein Array |
|
|
"Which Disney character famously leaves a glass shoe behind at a royal ball?", |
|
|
|
|
|
"The hammer and sickle are one of the most recognisable symbols of which political ideology?", |
|
|
|
|
|
"Which two words traditionally appear onscreen at the termination of a feature film?", |
|
|
|
|
|
"A person with well-developed abdominal muscles is said to have a what?", |
|
|
|
|
|
"A magnet would most likely attract which of the following?", |
|
|
|
|
|
|
|
|
"Which Disney character famously leaves a glass shoe behind at a royal ball?", |
|
|
|
|
|
"The hammer and sickle are one of the most recognisable symbols of which political ideology?", |
|
|
|
|
|
"Which two words traditionally appear onscreen at the termination of a feature film?", |
|
|
|
|
|
"A person with well-developed abdominal muscles is said to have a what?", |
|
|
|
|
|
"A magnet would most likely attract which of the following?", |
|
|
|
|
|
"In the United States, what is traditionally the proper way to adress a judge?", |
|
|
|
|
|
"Which of these pairs of apps offers roughly the same type of service?", |
|
|
|
|
|
"A geologist would likely be LEAST helpful for answering questions about which of the following?", |
|
|
|
|
|
"When a person is rudely ignored, he is said to be getting a what?", |
|
|
|
|
|
"A common piece of advice goes, 'Be there or be' what?" |
|
|
}; |
|
|
}; |
|
|
char* easy_antworten[][4] = { //Eingabe der zugehörigen Antworten in ein array |
|
|
char* easy_antworten[][4] = { //Eingabe der zugehörigen Antworten in ein array |
|
|
{"Elsa", "Rapunzel", "Cinderella", "Pocahontas"}, |
|
|
{"Elsa", "Rapunzel", "Cinderella", "Pocahontas"}, |
|
@ -22,9 +27,14 @@ void casualQuiz() { |
|
|
{"The End", "The Termination", "Pizza's ready", "Hotdog Time"}, |
|
|
{"The End", "The Termination", "Pizza's ready", "Hotdog Time"}, |
|
|
{"12-Pack", "6-Pack", "Family Pack", "One-Pack"}, |
|
|
{"12-Pack", "6-Pack", "Family Pack", "One-Pack"}, |
|
|
{"Metal", "Plastic", "Humans", "Water"}, |
|
|
{"Metal", "Plastic", "Humans", "Water"}, |
|
|
|
|
|
{"Your holiness", "Your eminence", "Father", "Your honor"}, |
|
|
|
|
|
{"Snapchat and Instagram", "Whatsapp and Twitter(now 'X')","Lyft and Uber", "Tiktok and Spotify"}, |
|
|
|
|
|
{"Granite Boulders", "Fruity Pebbles", "Precious Stones", "Igneus Rocks"}, |
|
|
|
|
|
{"Hot knee","Cold shoulder", "Burning hand", "Warm toe"}, |
|
|
|
|
|
{"Bare", "Aware", "Square", "All alone a usual"}, |
|
|
|
|
|
|
|
|
}; |
|
|
}; |
|
|
int easy_richtigeAntworten[] = { 3,4,1,2,1 }; // int, um die jeweils richtige antwort zu zeigen |
|
|
|
|
|
|
|
|
int easy_richtigeAntworten[] = { 3,4,1,2,1,4,3,2,2,3 }; // int, um die jeweils richtige antwort zu zeigen |
|
|
|
|
|
|
|
|
int length_frag_array = sizeof(easy_richtigeAntworten) / sizeof(int); //länge des arrays wird berechnet, damit man die länge vom spiel kennt |
|
|
int length_frag_array = sizeof(easy_richtigeAntworten) / sizeof(int); //länge des arrays wird berechnet, damit man die länge vom spiel kennt |
|
|
int correct = 0; |
|
|
int correct = 0; |
|
|