Friday, May 2, 2014

Show 5 stars (*****) using C program

Hey. Today I’m going to tell you about something you don’t know. Do you know how to show output 5 stars (*****) using C program? If you don’t know, this post is for you.

Here is the code given bellow. Now copy it and use on your C compiler.

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int i;
for(i=0;i<=5;i++)
printf("*");
getch();
}


If you like this post, Please share it to your friends so they know about it. Keep visiting to get all updates. Thank you.  

0 comments:

Post a Comment