#include <stdio.h>
int main() {
int x=15;
int y;
long z=1;
for(y=1; y<=x; y++) {
printf("______________\n");
printf("y = %d\n", y);
printf("z = %ld\n", z);
z=z*y;
printf("z = z * y = %ld\n", z);
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: