#include <stdio.h>

int main() {
    int x,y=0;
    for(x=15; x>=0; x--) {
        y=y+x;
    }
    printf("la somma da 0 a 15 è %d", y);
}

Embed on website

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