From b20975b07595ba109d1105224e4ff9737ad1e8ac Mon Sep 17 00:00:00 2001 From: fdai7899 Date: Mon, 5 Feb 2024 15:50:36 +0100 Subject: [PATCH] adding structure for Quiz 2 --- src/main/c/Quiz/Quiz_2.c | 11 +++++++++++ src/main/c/Quiz/Quiz_2.h | 6 ++++++ 2 files changed, 17 insertions(+) create mode 100644 src/main/c/Quiz/Quiz_2.c create mode 100644 src/main/c/Quiz/Quiz_2.h diff --git a/src/main/c/Quiz/Quiz_2.c b/src/main/c/Quiz/Quiz_2.c new file mode 100644 index 0000000..471aa57 --- /dev/null +++ b/src/main/c/Quiz/Quiz_2.c @@ -0,0 +1,11 @@ +#include + +int quiz_2() +{ + int secretNumber=5; + int guess; + int guessCount = 0; + int guessLimit = 3; + int outOfGuesses =0; + +} \ No newline at end of file diff --git a/src/main/c/Quiz/Quiz_2.h b/src/main/c/Quiz/Quiz_2.h new file mode 100644 index 0000000..b8a73d3 --- /dev/null +++ b/src/main/c/Quiz/Quiz_2.h @@ -0,0 +1,6 @@ +#ifndef QUIZ_2_H +#define QUIZ_2_H + +void quiz_2(); + +#endif //QUIZ_2_H