题目:
打印乘法口诀
源代码:
#include <stdio.h>
int main()
{
for(int col = 1; col < 10;col++)
{
for (int row = 1; row <= col; row++)
{
printf("%d * %d = %d ",row,col,row*col);
}
printf("\n");
}
return 0;
}
演示效果:
如果朋友你感觉文章的内容对你有帮助,可以点赞,关注文章和专栏以及关注我哈,嘿嘿嘿我会定期更新文章的,谢谢朋友你的支持哈