#include <stdio.h>

int a=20, b;
long c=1;

int main() {
    for(b=1; b<=a; b++) {
        printf("-------------\n");
        printf("b = %d\n", a);
        printf("c = %ld\n", c);
        c=c*b;
        printf("c = c * b = %ld\n", c);
        
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: