Problem Statement : Printing Large Block Letters
Programming Language : C
Program Code :
#include
void blockg(void); /*Prototype for blockg function */
int main (void) {
printf("\n");
blockg();
printf("\n");
}
/* Print out the Block letter g */
void blockg(void) {
printf("gggggg\n");
printf("g g\n");
printf("g\n");
printf("g ggg\n");
printf("g g\n");
printf("gggggg\n");
}
/* It prints out:
gggggg
g g
g
g ggg
g g
gggggg
*/
0 comments:
Post a Comment