Wap in cpp to display first 10 even number using do while loop

#include<iostream.h>
#include<conio.h>
void main()
{
clrscr():
int i;
do{cout<<i<<endl;
i=i+2;
}while(i<=10)
getch():
}

No comments:

Post a Comment

If You Like The Post Or want to Add Something More
then feel free to comment