Compare commits

..

2 Commits
main ... v2

Author SHA1 Message Date
f318ab8268 ggs 2024-11-21 07:35:07 +03:00
53f5022e3e 2 2024-11-21 07:31:07 +03:00

View File

@ -1,17 +1,18 @@
#include <stdio.h> #include <stdio.h>
#include <Windows.h> #include <Windows.h>
#include <math.h>
void main() { int main() {
int i, n, d;
SetConsoleCP(1251); int step;
SetConsoleOutputCP(1251);
printf("Салюков\n");
printf("Арсений\n");
printf("Михайлович\n");
printf("\n");
printf("ПИбд-13\n");
printf("Дата 13.09.24\n");
printf("\n");
step = 5;
i = 2;
n = 0;
while (n < step) {
d = pow(i, n);
printf("%d\n", d);
n++;
}
return 0;
} }