3 : Write a C program to print a block F using hash (#), where the F has a height of six characters and width of five and four characters. And also to print a big 'C'.
/*Write a C program to print a block F using hash (#), where the F has a height of six characters and width of five and four characters. And also to print a big 'C'.
Expected Output:
######
#
#
#####
#
#
#
######
## ##
#
#
#
#
#
## ##
###### */
#include<stdio.h>
main(void)
{
printf("#####\n#\n#\n####\n#\n#\n#\n\n\n");
printf(" ###### \n## ##\n#\n#\n#\n#\n ## ##\n #####\n");
}
Please write your comment here!!
ReplyDelete