摘要:
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //成绩统计 int scores[3][3] = { {100,100,100}, {90,50,100}, {60,70,8 阅读全文
posted @ 2020-02-29 23:29
Jackie_Wang
阅读(1957)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //冒泡排序法 int arr[10] = { 3,5,6,4,2,9,8,1,7,0 }; cout << "排序前的数组为: 阅读全文
posted @ 2020-02-29 20:53
Jackie_Wang
阅读(3311)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //数组元素的逆置 int arr[5] = { 1,5,3,2,4 }; int start = 0; int end = s 阅读全文
posted @ 2020-02-29 20:25
Jackie_Wang
阅读(512)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //五只小猪称体重 int arr[5] = { 300,350,200,400,250 }; int min ; int n= 阅读全文
posted @ 2020-02-29 15:35
Jackie_Wang
阅读(529)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //goto语句 cout << "1.xxxxxx" << endl; cout << "2.xxxxxx" << endl; 阅读全文
posted @ 2020-02-29 14:17
Jackie_Wang
阅读(212)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //乘法口诀表 for (int j=1; j < 10; j++) { for (int i = 1; i <= j; i++ 阅读全文
posted @ 2020-02-29 14:00
Jackie_Wang
阅读(1051)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //嵌套循环打印星图 for (int j = 0; j < 10; j++) { for (int i = 0; i < 10 阅读全文
posted @ 2020-02-29 13:44
Jackie_Wang
阅读(703)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //敲桌子 int i ; for (i = 1; i <= 100; i++) { if (i % 10 == 7 || i 阅读全文
posted @ 2020-02-29 13:26
Jackie_Wang
阅读(350)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //找出100~999中的水仙花数 int num = 100; do { int a = 0; int b = 0; int 阅读全文
posted @ 2020-02-29 13:14
Jackie_Wang
阅读(3216)
评论(0)
推荐(0)

浙公网安备 33010602011771号