Day 1 commit

This commit is contained in:
Ben Morgan 2020-09-02 19:54:41 -06:00 committed by GitHub
commit d5f4f817c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

17
main.cpp Normal file
View file

@ -0,0 +1,17 @@
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cout << "Please enter two numbers to add." << endl;
cin >> a >> b;
c = a + b;
if (c == 1979) {
cout << "Special number!!!!!!" << endl;
}
cout << c << std::endl;
return 0;
}