-
最佳答案:#includeint add(int a, int b){return a+b;}int sub(int a, int b){return a-b;}int
-
最佳答案://使用海伦公式#include /* For IO */#include /* For sqrt() */int main(void){double a,b,
-
最佳答案:如果是vs的看看link的选项是否/SUBSYSTEM:是windows 还是console,微软会根据这个找main,控制台找main,windows找win
-
最佳答案:double max(double a,double b,double c){ double m;if(a>b) m=a;else m=b;if(c>m) m=
-
最佳答案:#include#define N 9void main(){int i,j,a[N][N]={0};for(i=1;i
-
最佳答案:#includeint main(void){int n;int i,j;float sum = 1.0;float dex = 1.0;printf("输入一
-
最佳答案:void fangcheng(double a,double b,double c){double x1,x2;double delta=b^2-4*a*c;i
-
最佳答案:#include#define N 10int maximum(int a[],int n){int temp=a[0],i;for(i=1;i
-
最佳答案:class Triangle{private:x05double a;x05double b;x05double c;public:x05Triangle():
-
最佳答案:includeincludeddouble fun(int a ,int b,int c){int p;p=(a+b+c)/2;return sqrt(p*(p