#include<stdio.h> int main() { int x,y,t; for(t=0;t<50;t++) { for(y=7;y>-8;y–) { for(x=-7;x<=10;x++) { if(y==7) { if((x+t)%2!=0) printf(“–“); else printf(“~~”); } else if(y==-7) printf(“__”); else if(y==6) […]
Read moreTag: how to print pattern program in c
Butterfly Pattern Program
Butterfly Pattern Program Butterfly Pattern Program #include<stdio.h> int main(){ int n; scanf(“%d”,&n); for(int i=1;i<=n;i++){ […]
Read more
Recent Comments