Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions GettingStarted/maxTwoNumbers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <iostream>
using namespace std;

int main(){
void main(){

int num1, num2;
cout << "Please enter two numbers:\n"; // prompt user to enter numbers
Expand Down Expand Up @@ -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!
// Thank you. Keep Learning! See you in the next program!