From 0f88b9cb936f40c592b3785c7bb8f7fee7eb8238 Mon Sep 17 00:00:00 2001 From: Prince16082004 <143709287+Prince16082004@users.noreply.github.com> Date: Mon, 25 Sep 2023 18:27:59 +0530 Subject: [PATCH] Update main.cpp --- main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 806a84b..5717ba4 100644 --- a/main.cpp +++ b/main.cpp @@ -7,8 +7,10 @@ using namespace std; int main() { srand(time(0)); - const int minNumber = 1; - const int maxNumber = 100; + cout<<"Enter the number"; + cin>> maxnumber; + cout<<"Enter the number"; + cin>> mininumber; char playAgain;