Summary 1.
This commit is contained in:
parent
9c034ccfcc
commit
d38494a62f
12
main.cpp
12
main.cpp
@ -2,9 +2,13 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
int x{ 0 };
|
||||
std::cout << "Number Repeater:\nEnter the Number: ";
|
||||
std::cin >> x;
|
||||
std::cout << std::endl << "You Entered: " << x << "!\n";
|
||||
int i1{ };
|
||||
int i2{ };
|
||||
std::cout << "Enter a Integer: ";
|
||||
std::cin >> i1;
|
||||
std::cout << "Enter another Integer: ";
|
||||
std::cin >> i2;
|
||||
std::cout << i1 << " + " << i2 << " is " << i1 + i2 << "\n";
|
||||
std::cout << i1 << " - " << i2 << " is " << i1 - i2 << "\n";
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user