source code of O alphabet pattern
code:
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main()
{
int i,j,k;
system("color F5");
for(i=0;i<=11;i++)
{
for(j=0;j<=2;j++)
{
if(i==0&&j<2||i==1&&j<2||i==11&&j<2||i==10&&j<1)
{
printf(" ");
}
else
{
printf("*");
}
}
for(k=1;k<=6;k++)
{
if(i>=0&&i<2||i>9&&i<=11)
{
printf("**");
}
else
{
printf(" ");
}
}
for(j=0;j<=2;j++)
{
if(i==0&&j>0||i==1&&j>1||i==11&&j>0||i==10&&j>1)
{
printf(" ");
}
else
{
printf("*");
}
}
printf("\n");
}
getche();
}
MORE Topics:
1-How to print Numeric Number with a star pattern in c,
https://youtu.be/qG3iE09BIwk
2-How to print Table with a star pattern in c,
https://youtu.be/ALjlFK3CIwc
3-How to hack sim card,
https://youtu.be/zseZl7_tmLI
4-How to print Heart with a star pattern in c,
https://youtu.be/aAyaQ-52Ajk
5-How to print A alphabet pattern with Emoji and star pattern,
https://youtu.be/Cyoz8VP6Rkw
6-Student database management in c language
https://youtu.be/MbrVwFUD5Js
7-how to hack IP address | shutdown attack with IP address
https://youtu.be/CINtkijYjrk
8-All Alphabet pattern in c | alphabet star pattern in c language in Hindi
https://youtu.be/v5kqc7jG4OM
9- print Name with Alphabet Pattern in C in Hindi
https://youtu.be/8r81E-Va7rQ
10-Free Contact List for SMS Marketing | Unlimited Numbers for Whatsapp
https://youtu.be/z_mE2q_l0Pc