122влад221 1 122влад221 Регистрация 22 Ноя 2013 Сообщения 82 Репутация 0 Спасибо 0 Монет 0 27 Окт 2016 #1 #include #include #include using std:: cout; using std:: cin; using std:: endl; int mail() { setlocale(LC_ALL,"Russian"); int a,b; a = 24; b = 12; cout << " a = " << a << " b = " << b << endl; cout << " a + b = " << (a+b) << endl; cout << " a - b = " << (a-b) << endl; cout << " a / b = " << (a/b) << endl; cout << " a * b = " << (a*b) << endl; _getch(); return 0; }
#include #include #include using std:: cout; using std:: cin; using std:: endl; int mail() { setlocale(LC_ALL,"Russian"); int a,b; a = 24; b = 12; cout << " a = " << a << " b = " << b << endl; cout << " a + b = " << (a+b) << endl; cout << " a - b = " << (a-b) << endl; cout << " a / b = " << (a/b) << endl; cout << " a * b = " << (a*b) << endl; _getch(); return 0; }