Program to Print A 3×5 Table Using The Character * in 1st Row, ** in Second Row And So On [C Programming]
#include <stdio.h>
void main( void )
{
printf("*\t*\t*\n"); //\t is used to print tab
printf("**\t**\t**\n");
printf("***\t***\t***\n");
printf("****\t****\t****\n");
printf("*****\t*****\t*****\n");
}
void main( void )
{
printf("*\t*\t*\n"); //\t is used to print tab
printf("**\t**\t**\n");
printf("***\t***\t***\n");
printf("****\t****\t****\n");
printf("*****\t*****\t*****\n");
}
Comments
Post a Comment