#include <stdio.h> #include <stdlib.h> #include <locale.h> int main() { setlocale(LC_ALL,""); printf("Введите число\n"); int i = 0; scanf("%d", &i); int iteration = 0; while (iteration < i){ printf("Квадрат %d равен %d\n",iteration,iteration*iteration); iteration++; } return 0; }