Skip to content

Commit

Permalink
test fix issue ChicoState#2
Browse files Browse the repository at this point in the history
  • Loading branch information
the-real-brogrammer committed Sep 24, 2024
1 parent 08ea02b commit 5076940
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ int main(){
cout<< "Second number: ";
cin>> second;

cout<< "Addition: "<< first << "+" << second << "=";
cout<< "Addition: "<< first << "+" << second << "=";
cout<< (first+second) << endl;
cout<< "Subtraction: "<< first << "-" << second << "=";
cout<< (first-second) << endl;
cout<< "Multiplication: "<< first << "*" << second << "=";
cout<< (first*second) << endl;

if (!second)
std::cout<< "Division: Error - cannot divide by zero!\n";
else
Expand Down

0 comments on commit 5076940

Please sign in to comment.