From f277d860d68c7d1c7c8fbf13b920d6f9dfb1e486 Mon Sep 17 00:00:00 2001 From: Manya Gupta <142630781+manyagupta0209@users.noreply.github.com> Date: Sat, 30 Sep 2023 12:49:54 +0530 Subject: [PATCH 1/2] Update mistake.cpp --- mistake.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mistake.cpp b/mistake.cpp index 03f2f21..97d5752 100644 --- a/mistake.cpp +++ b/mistake.cpp @@ -1,7 +1,7 @@ #include - -integer main() { - String correctMePls = 4; - +using namespace std; +int main() { + char correctMePls = {'4'}; + cout << correctMePls << endl; return 45; } From 89dd4a327de7c5eada6c5c726b37d0aa05b226ce Mon Sep 17 00:00:00 2001 From: Manya Gupta <142630781+manyagupta0209@users.noreply.github.com> Date: Sat, 30 Sep 2023 13:12:26 +0530 Subject: [PATCH 2/2] fixed mistake.cpp --- mistake.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mistake.cpp b/mistake.cpp index 97d5752..e2244c5 100644 --- a/mistake.cpp +++ b/mistake.cpp @@ -2,6 +2,6 @@ using namespace std; int main() { char correctMePls = {'4'}; - cout << correctMePls << endl; + return 45; }