From 97627d78ccb7a220d02ae6bb1f17937a647de7cf Mon Sep 17 00:00:00 2001 From: vickysingh07 <70267639+vickysingh07@users.noreply.github.com> Date: Thu, 1 Oct 2020 00:47:15 +0530 Subject: [PATCH] Update CPP_greatest.cpp --- CPP/CPP_greatest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CPP/CPP_greatest.cpp b/CPP/CPP_greatest.cpp index e184d41..23205f8 100644 --- a/CPP/CPP_greatest.cpp +++ b/CPP/CPP_greatest.cpp @@ -1,13 +1,15 @@ - +//header file #include using namespace std; int main() { +//initialising variable int a, b, c; cout <<"Enter any three numbers: "; cin>>a; cin>>b; cin>>c; +//main coding part if(a>=b && a>=c) { cout<<"Largest number: "<