forked from ChicoState/CppMath
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
32 lines (27 loc) · 871 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
int main(){
double first, second;
cout<< "First number: ";
cin>> first;
cout<< "Second number: ";
cin>> second;
<<<<<<< HEAD
std::cout<< "Addition: "<< first << "+" << second << "=";
std::cout<< (first+second) << std::endl;
std::cout<< "Subtraction: "<< first << "-" << second << "=";
std::cout<< (first-second) << std::endl;
std::cout<< "Multiplecation: "<< first << "*" << second << "=";
std::cout<< (first*second) << std::endl;
=======
cout<< "Addition: "<< first << "+" << second << "=";
cout<< (first+second) << endl;
cout<< "Subtraction: "<< first << "-" << second << "=";
cout<< (first-second) << endl;
cout<< "Multiplication: "<< first << "*" << second << "=";
cout<< (first*second) << endl;
>>>>>>> 14936c0a26d39b8368f0edd5a9f994a8c75474e4
return 0;
}