Compare commits

..

No commits in common. "v2" and "main" have entirely different histories.
v2 ... main

View File

@ -1,18 +1,17 @@
#include <stdio.h> #include <stdio.h>
#include <Windows.h> #include <Windows.h>
#include <math.h>
int main() { void main() {
int i, n, d;
int step; SetConsoleCP(1251);
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;
} }