Saturday, 28 April 2018

Program to Print first five odd number in c

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

No comments:

Post a Comment

Featured post

Program to find maximum of three number using user define function in C++

A function can be define by the user as per the requirement of the user or programmer . To implement a user define function , a programmer ...