Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
C++
# include <iostream>
# include <windows.h>
# include <cmath>
# include <iomanip>
# include <fstream>
using namespace std;
int main()
{
SetConsoleCP(1251);
SetConsoleOutputCP(1251);
unsigned char C;
int kod;
cout << "Введите символ С: ";
cin >> C;
kod = C;
cout << "Код символа '" << C << "': " << kod << endl;
system ("pause");
return 0;
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
1) найти убыль как к-во * 12%
2) найти прирост как к-во * 20%
3) к-во = к-во-убыль+прирост
выполнить 8 раз
var
x,a,b: real;
i: integer;
begin
x: =100000;
for i: =1 to 8 do
a: =x*0.12;
b: =x*0.20;
x: =x+b-a;
end;
writeln(x);
end.
бухгалтерия, документооборот.
Популярные вопросы