Skip to content

Commit

Permalink
Added Multiplication Example, Closes ChicoState#1
Browse files Browse the repository at this point in the history
  • Loading branch information
rosalep committed Sep 9, 2024
1 parent 09d2326 commit ffbb016
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,6 +12,7 @@ int main(){
std::cout<< (first+second) << std::endl;
std::cout<< "Subtraction: "<< first << "-" << second << "=";
std::cout<< (first-second) << std::endl;

std::cout<< "Multiplication: "<< first << "*" << second << "=";
std::cout<< (first*second) << std::endl;
return 0;
}

0 comments on commit ffbb016

Please sign in to comment.