2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:#include<stdio.h> double fact(int n); double mypow(double x ,int n); int main() { int i,n; d…… 题解列表 2017年07月06日 0 点赞 0 评论 907 浏览 评分:9.9
2004年秋浙江省计算机等级考试二级C 编程题(2) (C++代码) 摘要:#include <iostream>#include <iomanip>using namespace std;int main (){ int n; double sum=0,x; cin>>x>…… 题解列表 2017年07月02日 0 点赞 0 评论 1195 浏览 评分:9.9
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:思路:代公式答案:#include<stdio.h> double fact(int n); double mypow(double x,int n); double fact(int n){ …… 题解列表 2017年06月17日 0 点赞 0 评论 766 浏览 评分:8.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:#include <stdio.h>#include <stdlib.h>double fact(int n){ int i; long f=1; for(i=2;i<=n;i++) { f=f*i…… 题解列表 2017年06月16日 0 点赞 0 评论 813 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要://形参的类型别写错了#include <stdio.h>#include<math.h>double fact(int n){ double a = 1.0; for(int i=1;i…… 题解列表 2017年06月14日 0 点赞 0 评论 1225 浏览 评分:0.0