Day 1 commit
This commit is contained in:
commit
d5f4f817c0
2 changed files with 17 additions and 0 deletions
17
main.cpp
Normal file
17
main.cpp
Normal 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;
|
||||
}
|
||||
BIN
slides.pdf
Normal file
BIN
slides.pdf
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue