摘要:
15.HelloGoodbyeOne more timeHelloEnd of program16.It will occur an error only there is 0 person to divide to ice-cream.17.#include<iostream>using namespace std;void product(int num1,int num2,int num3);int main(){ cout<<"Give me 3 integers." cin>>num1>>num2>>nu 阅读全文
posted @ 2012-05-07 19:02
terryhan
阅读(121)
评论(0)
推荐(0)
摘要:
7.Wow8.int sum(int firstNum,int secNum,int thirdNum);int sum(int firstNum,int secNum,int thirdNum){ sumall=firstNum+secNum+thirdNum; return sumall}9.char determine(double parameter);char determine(double parameter){ if(parameter>0) return 'P'; else return 'N';}10.No11.You got to i 阅读全文
posted @ 2012-05-07 14:33
terryhan
阅读(128)
评论(0)
推荐(0)
摘要:
1.16.01/2 161/2 2.03.023 2.03 1.12|3| |-3| |0||-3.0| |-3.5| |3.5|2.sqrt(x+y) pow(x,y+7) sqrt(area+fudge)sqrt(time+tide)/nobody (-b+sqrt(pow(b,2)-4*a*c))/(2*a)abs(x-y)3.#include<iostream>#include<cmath>using namespace std;int main(){ for(int i=1,i<=10,i++) { root=sqrt(i); cout<<. 阅读全文
posted @ 2012-05-07 10:38
terryhan
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号