#include<iostream.h>void main(){ int i=1,sum=0; while(i<=100) { sum=sum+i; i++; } cout<<"sum="<<sum<<endl;}