One Question of the Day 75

Question 75: Print the following graphics:
Insert picture description here

#include"stdio.h"
void main()
{
int i,j;
for(i=1;i<=5;i++)
{
for(j=1;j<=6-i;j++)
printf(" “);
for(j=1;j<=5;j++)
printf(”*");
printf("\n");
}
}

Guess you like

Origin blog.csdn.net/drake_gagaga/article/details/114108170