Browse Source

refactoring: fact or lie question

main
fdlt3859 2 years ago
parent
commit
bcee083159
  1. 5
      src/main/quizproject.c

5
src/main/quizproject.c

@ -1202,10 +1202,11 @@ void v_factorlie(void){
"The Great Wall of China is visible from space.", // lie "The Great Wall of China is visible from space.", // lie
"Water freezes at 0 degrees Celsius.", // fact "Water freezes at 0 degrees Celsius.", // fact
"Napoleon Bonaparte ruled Germany at a time in history.", // fact "Napoleon Bonaparte ruled Germany at a time in history.", // fact
"Barack Obama was born in America." // lie
"Barack Obama was born in America.", // lie
"Hamburg is a city in the state of Niedersachsen." // lie
}; };
char answers[] = {'F','L','F','F','L'}; // L for lie, F for fact
char answers[] = {'F','L','F','F','L','L'}; // L for lie, F for fact
int num_statements = sizeof(statements) / sizeof(statements[0]); int num_statements = sizeof(statements) / sizeof(statements[0]);
int score = 0; int score = 0;

Loading…
Cancel
Save