Compare commits

..

2 Commits
main ... v2

Author SHA1 Message Date
8839aeedff gg 2024-11-21 07:43:03 +03:00
f4ea5dd88a 2 2024-11-21 07:40:35 +03:00

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;
}