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