Advance Programs On For LoopLearn C ProgrammingLearn ProgrammingLoop Control StructuresResources

051. Write a program to print digits, alphabets in capital and lower case in C language

By September 18, 2012 February 5th, 2018 No Comments
#include<stdio.h>
#include<conio.h>  
main()
{
	int i;
	clrscr();
	for(i=65;i<=90;i++)
		  printf("%c  ",i);

	printf("\n\n\n\n");
	for(i=97;i<=122;i++)
		  printf("%c  ",i);

	printf("\n\n\n\n");
	for(i=48;i<=57;i++)
		  printf("%c\t",i);

	getch();
}


Leave a Reply

DEMO01