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