#include <stdio.h>
/*
*
* *
* * *
* * * *
* * * * *
*/
int main(int argc, char const *argv[])
{
/* code */
for (int i = 0; i < 5; i++) // 控制行数
{
/* code */
for (int j = 0; j <= i; j++)
{
/* code */
printf("* ");
}
printf("\n");
}
return 0;
}
【无标题】c语言 学习冒泡之前应该学习的几个图形
阅读 64
2022-01-24
#include <stdio.h>
/*
*
* *
* * *
* * * *
* * * * *
*/
int main(int argc, char const *argv[])
{
/* code */
for (int i = 0; i < 5; i++) // 控制行数
{
/* code */
for (int j = 0; j <= i; j++)
{
/* code */
printf("* ");
}
printf("\n");
}
return 0;
}
相关推荐
精彩评论(0)