2021年8月2日
摘要: 1 //嵌套循环 乘法口诀 2 #include <iostream> 3 using namespace std; 4 int main() 5 { 6 int i ,j; 7 for ( i = 1; i <= 9; i++) 8 { 9 for (j = 1; j <= i; j++) 10 阅读全文
posted @ 2021-08-02 14:44 Bytezero! 阅读(228) 评论(0) 推荐(0)
摘要: 1 // 1-100之间 7的倍数 带7 打印 敲桌子 2 #include <iostream> 3 using namespace std; 4 5 int main() 6 { 7 for (int i = 1; i <= 100; i++) 8 { 9 if(i % 7==0 || i % 阅读全文
posted @ 2021-08-02 13:59 Bytezero! 阅读(430) 评论(0) 推荐(0)
摘要: 1 #include <iostream> 2 #include <ctime> 3 using namespace std; 4 5 int main() 6 { 7 int num = 100; 8 do 9 { 10 int a = 0; 11 int b = 0; 12 int c = 0; 阅读全文
posted @ 2021-08-02 11:11 Bytezero! 阅读(132) 评论(0) 推荐(0)