#include <stdio.h>

int main() {
    int i ,som ;
    som=0;
    
    for(i=0;i<=20;i++){
       som +=i;
    }
     printf("la somme des 20 premiers nombres est : %d\n",som);
    return 0;
}

Embed on website

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