From 2f9add49d9422354a0b3475d92902f2698a12805 Mon Sep 17 00:00:00 2001 From: nitsharama017 <72150505+nitsharama017@users.noreply.github.com> Date: Thu, 1 Oct 2020 23:49:07 +0530 Subject: [PATCH] Update If_Else.cpp --- Lec_001/If_Else.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Lec_001/If_Else.cpp b/Lec_001/If_Else.cpp index a78421a..a43ff9f 100644 --- a/Lec_001/If_Else.cpp +++ b/Lec_001/If_Else.cpp @@ -1,8 +1,8 @@ #include using namespace std; -int main(int args, char** argv) -{ +int main(int args, char** argv){ + int a=0, b=0, c=0; cout<<"Enter a: "; cin>>a; @@ -16,15 +16,15 @@ int main(int args, char** argv) cin>>c; cout<<"\n"; - if (a>b && a>c) { + if (a>b && a>c) { //begning of nested if loop cout<a && b>c) { cout<