From f1414a6ecff53e4a5b8294d5a754d3924ca80a4c Mon Sep 17 00:00:00 2001 From: deepatharwani <44153137+deepatharwani@users.noreply.github.com> Date: Thu, 18 Oct 2018 16:20:05 +0530 Subject: [PATCH] Removed return type int --- GettingStarted/maxTwoNumbers.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/GettingStarted/maxTwoNumbers.cpp b/GettingStarted/maxTwoNumbers.cpp index b7b9729..5efbe94 100644 --- a/GettingStarted/maxTwoNumbers.cpp +++ b/GettingStarted/maxTwoNumbers.cpp @@ -5,7 +5,7 @@ #include using namespace std; -int main(){ +void main(){ int num1, num2; cout << "Please enter two numbers:\n"; // prompt user to enter numbers @@ -96,7 +96,6 @@ int main(){ that is initialized with the value of the variable "num1", provided "num1" is already declared above. */ - return 0; } -// Thank you. Keep Learning! See you in the next program! \ No newline at end of file +// Thank you. Keep Learning! See you in the next program!