欢迎来我的博客

随笔分类 -  C语言

用C语言的for循环,打印九九乘法表
摘要:用C语言的for循环,打印九九乘法表 C语言: #include <stdio.h> int main(void) { int row, col; for (row = 1; row <= 9; row++) { for (col = 1; col <= row; col++) { printf(" 阅读全文

posted @ 2020-04-13 19:58 tylerwu 阅读(2000) 评论(0) 推荐(0)

用C语言的while循环,打印九九乘法表
摘要:用C语言的while循环,打印九九乘法表 用C语言的while循环: #include <stdio.h> int main(void) { int row = 1; while (row <= 9) { int col = 1; while (col <= row) { printf("%d * 阅读全文

posted @ 2020-03-24 09:18 tylerwu 阅读(3400) 评论(0) 推荐(0)

导航