Friday, 21 March 2014

INCREMENT FACTOR TO PRODUCE A,B,C,D THROUGH C

SOURCE CODE


#include<stdio.h>
#include<conio.h>
#include<math.h>
void main(void)
{
char a;
clrscr();
a=65;
printf("The first character is  :%c",a);
a++;
printf("\nThe second character is :%c",a);
a++;
printf("\nThe third character is  :%c",a);
a++;
printf("\nThe forth character is  :%c",a);
a++;
printf("\nThe fifth character is  :%c",a);
getch();


OUTPUT


No comments:

Post a Comment