From 8c52bcb750fcebb97b42a4fa102c56e9396bd33a Mon Sep 17 00:00:00 2001 From: Tony Yang Date: Mon, 27 Dec 2021 01:18:40 +0800 Subject: [PATCH] [Update] int instead of unsigned int --- game.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/game.cpp b/game.cpp index 1d12d50..150792d 100644 --- a/game.cpp +++ b/game.cpp @@ -7,28 +7,28 @@ using namespace std; class Game { private: - unsigned int upper; - unsigned int lower; - unsigned int count; - unsigned int answer; + int upper; + int lower; + int count; + int answer; public: Game(void) { this->reset(); } - unsigned int get_upper() { + int get_upper() { return this->upper; } - unsigned int get_lower() { + int get_lower() { return this->lower; } - unsigned int get_count() { + int get_count() { return this->count; } - unsigned int get_answer() { + int get_answer() { return this->answer; }