摘要:
#include <iostream> using namespace std; struct a{ int shuchu; string name; int a(int shuchu){ return shuchu*2; } }s1; int main(){ s1.name="阿萨达"; s1.s 阅读全文
posted @ 2023-11-18 09:42
最后一个还有我
阅读(14)
评论(0)
推荐(0)
摘要:
#include <iostream> using namespace std; //变量名[]形式传递一维数组 //求平均数 float avg(int a[],int n){ float sum=0.0; for(int i=0;i<n;i++){ sum+=a[i]; } return sum 阅读全文
posted @ 2023-11-18 08:54
最后一个还有我
阅读(20)
评论(0)
推荐(0)

浙公网安备 33010602011771号