Program For Printing Digits In Larger Size
In this program it will receive numbers in digits and print in larger format as shown here: #include<stdio.h> #include<conio.h> void main() { int k,j,i,s,n=8; int arr[5]; clrscr(); printf("Enter the lenth of the number"); scanf("%d",&s); printf("Enter the number to print it in large format"); for(i=0;i<s;i++) { scanf("%d",&arr[i]); } for(i=0;i<8;i++) { for(k=0;k<9;k++) { if(arr[k]==0) { if(i==0||i==n-1) printf(" ""###"" "); else printf("#"" "" "" ""#"); printf(" "); } if(arr[k]==1) { if(i==1) printf("##"); else if(i==n-1) { printf("###"); } else printf(" ""#"); printf(" "); } if(arr[k]==2) { if(i==0||i==4||i==7) printf("#####"); else if(i==5||i...