54 символа
1 символ=1байт=8 бит
54*8=432бит
Для чого інженеру компютер
#include <iostream>
#include <math.h>
using namespace std;
int Calc(int ch, int step)
{
int result = pow(ch, step);
return result;
}
int main()
{
int ch, step, result;
cout « "Enter number: "; cin » ch;
cout « "Enter step: "; cin » step;
result = Calc(ch, step);
cout « endl « "Result = " « result « endl;
return 0;
}