作业答案-1 5.6 double s(float x, int n [if(n==ll) return x else return S(x, n-1)+x*x: 1、将# include < conio . h>改为 windows h;将 closer(:改为 system(CLs”) cIrscro是TC中的清屏函数,VC中没有,但Vc中 般不需要。 2、1相当于(ong)1 22 作业答案-1 ▪ 5.6 double S(float x, int n) {if(n==1L) return x; else return S(x,n-1)+x*x; } •1、将#include<conio.h>改为windows.h;将clrscr();改为 system(“CLS”);clrscr()是TC中的清屏函数,VC中没有,但VC中 一般不需要。 •2、1L相当于(long)1