摘要:
#include<iostream> using namespace std; void bubbleArr(int *arr,int len) { for (int i = 0; i < len - 1; i++) { for (int j = 0; j < len - i - 1; j++) { 阅读全文
摘要:
#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 阅读全文
摘要:
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //五只小猪称体重 int arr[5] = { 300,350,200,400,250 }; int min ; int n= 阅读全文
摘要:
#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++ 阅读全文
摘要:
#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //嵌套循环打印星图 for (int j = 0; j < 10; j++) { for (int i = 0; i < 10 阅读全文