#include <stdio.h>

int main()
{
    int a=0;
    int sum=0;
    
    do{
        sum=sum+a;
        a=a+2;
    }while(a<=100 && a%2==0);
    printf("%d", sum);
        
        
    return 0;
}

Embed on website

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