diff --git a/main.cpp b/main.cpp index 47b917d..e61cf90 100644 --- a/main.cpp +++ b/main.cpp @@ -5,13 +5,16 @@ using std::cin; using std::endl; int main(){ + // creating inputs double first, second; + // printing statements to alert the user to enter inputs cout<< "First number: "; cin>> first; cout<< "Second number: "; cin>> second; + // printing results of operations cout<< "Addition: "<< first << "+" << second << "="; cout<< (first+second) << endl; cout<< "Subtraction: "<< first << "-" << second << "="; @@ -20,4 +23,4 @@ int main(){ cout<< (first*second) << endl; return 0; -} \ No newline at end of file +}