From bcee08315992323db43bb6fe4f8b74101b35b0fa Mon Sep 17 00:00:00 2001 From: fdlt3859 Date: Thu, 9 Feb 2023 15:43:25 +0000 Subject: [PATCH] refactoring: fact or lie question --- src/main/quizproject.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 33038f9..0cec523 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -1202,10 +1202,11 @@ void v_factorlie(void){ "The Great Wall of China is visible from space.", // lie "Water freezes at 0 degrees Celsius.", // 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 score = 0;