printing the H alphabet in c language
#include <stdio.h>
#include<conio.h>
using namespace std;
// printing the H symbol;
int main(){
int i,j,l=9;
for( i=1; i<=l; i++){
for(j=1; j<=l; j++){
if( j==1 || j==9||i==5 ) printf("*");
else
printf(" "); }
printf("\n");
}return 0;
}
Comments
Post a Comment