#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int x = -1, z = 1;
char string[10] = { '\0' };
while (x != 0)
{
printf("Vvedit chislo = ");
scanf_s("%d", &x);
z = x * z;
strcat(string, z);
}
printf("%s\n", string);
_getch();
return 0;
}