PRINTING THE B ALPHABET IN C LANGUAGE

 #include <stdio.h>

#include<conio.h>

using namespace std; 

// printing the B symbol;

int main(){  

int i,j,l=9;

for( i=1; i<=l; i++){ 

for(j=1; j<=l; j++){

if(i==5 || j==1 ||j==9||i==9 || i==1) printf("*"); 

 else

 printf(" ");  }

 printf("\n");

}return 0;

}


Comments

Popular posts from this blog

250+ C Programs for Practice

FUNCTION OVERRIDING IN CPP