T = n mod 10; if (n mod t = 0) then writeln(t);
t = n div 10 mod 10; if (n mod t = 0) then writeln(t);
t = n div 100 mod 10; if (n mod t = 0) then writeln(t);
t = n div 1000 mod 10; if (n mod t = 0) then writeln(t);
#include <iostream>
#include <cmath>
#include <iomanip>
int main()
{
float
x, y;
std::cout << "Введите значение переменной X: ";
std::cin >> x;
y = 3*(pow(sin(x), 3) + (pow(cos(2*x), 2)/2));
std::cout << std::endl << "Значение выражения равно = " << std::setprecision(3) << y;
return 0;
}
1. 77; 226; 2598;
2. 100100; 305; E6;
3. 327; E66