Thursday, 26 April 2018

Program to print first five even number in C

/* first five even number */
# include <stdio.h>
void main ()
{
int a = 2 ;
clrscr () ;
while (a<=10)
{
printf ("/n %d", a) ;
a = a+2 ;
}
getch () ;
}



No comments:

Post a Comment

Featured post

Program to find Volume of given box in java

class volume { public static void main (String args []) { int l=5,b=6,h=10; int volume; volume=l*b*h; System.out.println (" vol...