Viewing code of EX2_102B
// ------ EX2_102B.CPP --------------
//--- Programmed By Rajesh -----

/*
Kathmandu University
Exam paper 2002
q. no (12).
b).
Trace the output of the following program :





*/
#include<stdio.h>
#include<conio.h>
void main()
{
int i=0,x=0;
while(i<20)
{
if(i%5==0)
{
x+=i;
printf("%d",x);
}
++i;
}
printf("\n x = %d",x);
}