2 #2

Open
endlesssky wants to merge 2 commits from v2 into main

View File

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