摘要:
方法一: #include <iostream> #include <windows.h> #include <string> using namespace std; int main() { int i = 0, j = 0; int a[4][5]; //给数组成员赋值 for (int i 阅读全文
摘要:
#include <iostream> #include <windows.h> #include <string> using namespace std; float averageSalary(int n[],int i) { float sum = 0; for (int x = 0; x 阅读全文
摘要:
#include <iostream> #include <windows.h> #include <string> using namespace std; void test(int n,char ch='$') { //可以在此指定默认参数 for (int i = 1; i <= n; i+ 阅读全文