#include <stdio.h> int main() { int a=1, b=0; while(a<=30) { //somma dei numeri da 0 a 30 b=b+a; a=a+1; } printf("%d", b); }
To embed this project on your website, copy the following code and paste it into your website's HTML: