1
0

Summary 1.

This commit is contained in:
Captain ALM 2022-08-13 00:22:07 +01:00
parent 9c034ccfcc
commit d38494a62f
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -2,9 +2,13 @@
int main() int main()
{ {
int x{ 0 }; int i1{ };
std::cout << "Number Repeater:\nEnter the Number: "; int i2{ };
std::cin >> x; std::cout << "Enter a Integer: ";
std::cout << std::endl << "You Entered: " << x << "!\n"; 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; return 0;
} }