#include <iostream>
using namespace std;

int main()
{
setlocale(LC_ALL, "rus");

int number1 = 18;
int number2 = 4;

cout << "number1 = " << number1 << endl;
cout << "number2 = " << number2 << endl;
cout << "number1 + number2 = " << number1 + number2 << endl;
cout << "number1 - number2 = " << number1 - number2 << endl;
cout << "number1 * number2 = " << number1 * number2 << endl;
cout << "number1 / number2 = " << number1 / number2 << endl;
cout << "number1 % number2 = " << number1 % number2 << endl;
cout << endl;

return 0;
}

Оценка - 1.0 (8)

2015-11-08 • Просмотров [ 982 ]