2023年4月14日
摘要: 编写x的n次方函数 #include<iostream>using namespace std;double power(double x,int n){ double a=1.0; while(n--) a*=x; return a;}int main(){ double x; int n; ci 阅读全文
posted @ 2023-04-14 22:26 清荣峻茂 阅读(18) 评论(0) 推荐(0)