Wednesday 11 July 2012

Print Alphabet "I" in C


#include<stdio.h>
#include<conio.h>
void main()
{
  int i,p,a;
clrscr();
printf("enter the height =");
scanf("%d",&a);
for(i=1;i<=a;i++)
  {
  printf("*\n");
  }

 getch();
 }

No comments:

Post a Comment