From 8a450ad76dc67c1726b955bbc9ad755a1a0d6ba8 Mon Sep 17 00:00:00 2001 From: devank21 <132289193+devank21@users.noreply.github.com> Date: Sun, 27 Oct 2024 00:36:03 +0530 Subject: [PATCH] Update 02.cpp hactoberfest 2024 --- DSA_C++/Cpp 50 ques/02.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/DSA_C++/Cpp 50 ques/02.cpp b/DSA_C++/Cpp 50 ques/02.cpp index 2159e2a7..1d222fa3 100644 --- a/DSA_C++/Cpp 50 ques/02.cpp +++ b/DSA_C++/Cpp 50 ques/02.cpp @@ -6,16 +6,21 @@ class num{ int n; void display(int n){ - cout<<"entered number"<>n; num obj; obj.display(n); + cout<<"if you want to exit entering the numbers enter 0 or if you like to continue enter 1 " <>m; + } return 0; -} \ No newline at end of file +}