Wap in cpp to print 1st 10 even number

#include<iostream.h>
#include<conio.h>
void main()
{ int I;
For(i=1;i<=10;i++)
{
If(i%2 = = 0)
{cout<<i<<endl;}
}
}

No comments:

Post a Comment

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