//Program to print alphabet U in C Language with CBhashaGyan
#include<stdio.h>
int main()
{
int i, j;
for(i=1;i<=5;i++)
{
printf("\t"); //for horizontal tab
for(j=1;j<=4;j++)
{
if((j==1 || j==4) && i<=4)
printf("* "); //star and space
else if( i==5 && (j==2 || j==3))
printf("* "); //star and space
else
printf(" "); //double space
#include<stdio.h>
int main()
{
int i, j;
for(i=1;i<=5;i++)
{
printf("\t"); //for horizontal tab
for(j=1;j<=4;j++)
{
if((j==1 || j==4) && i<=4)
printf("* "); //star and space
else if( i==5 && (j==2 || j==3))
printf("* "); //star and space
else
printf(" "); //double space
No comments:
Post a Comment