Learning C/C++ with shrinivas
Tuesday, 23 April 2013
How to Write Letter B with c
/*prog for Letter B */
main()
{
int i=1;
for(i=1;i<=6;i++)
{
if(i==1 || i==4 || i==6)
{
printf("********");
printf("\n");
}
if(i!=1 && i<=5)
{
printf("* *");
printf("\n");
}
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment