#include<stdio.h> int main(){ int n=10,sum=0,i; for(i=0;i<=n;i++){ sum=i+sum; } printf("%d",sum); }
To embed this project on your website, copy the following code and paste it into your website's HTML: