网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

英译中:There’s a 10% discount for a double room.


参考答案

更多 “ 英译中:There’s a 10% discount for a double room.” 相关考题
考题 编写求两个双精度数之和的函数,选项中正确的是A.double add(double a,double b){double s;s=a+b;return s; }B.double add(double a,b){double s;s=a+b;return (s);}C.double add(double a double b){double s;s=a+b;returns;}D.double add(a,b){double a,b,s;s=a+b;return (s);}

考题 Let’s put the piano by ( ) window on ( ) left of ( ) room. A、the/ the/ theB、a/ the/ theC、…/ the/ theD、… / … / the

考题 on board S.S.“Nellore” (英译中)

考题 请补充函数fun,其功能是:计算并输出给定10个数的方差:例如,给定的10个数为15.0,19.0,16.0,15.0,18.0,12.0, 15.0,11.0,10.0,16.0,输出为s=2.758623。注意:部分源程序给出如下。请勿改动主函数main和其他函数中的任何内容,仅在函数fun()的横线上填入所编写的若干表达式或语句。试题程序:include<stdio.h>include<math. h>double fun (double x[10]){int i;double avg=0.0;double sum=0.0;double abs=0.0;double sd;for (i=0; i<10; i++)【 】;avg=sum/10;for(i=0;i<10;i++)【 】;sd=【 】;return sd;}main(){double s,x[10]={15.0,19.0,16.0,15.0,18.0,12.0,15.0,11.0,10.0,16.0};int i;printf("\nThe original data is :\n");for(i=0;i<10;i++)printf("%6.1f",x[i]);printf("\n\n");s=fun(x);printf("s=%f\n\n",s);}

考题 将下面的语句段(A) 补充完整,使其和语句段(B) 在功能上完全等价。(a) double s=0.0;【 】;int k=0;do{s+=d;k++;d=1.0/(k*k+1);}while(【 】);(b) double s=1.0;for(int k=1;k<=10;k++) s+=1.0/(k*(k+1));

考题 " It' s cold in this room.” “_______ the heating?"A、Do you want to turnB、Turn onC、Shall I turn onD、Will I turn on

考题 下列程序的执行结果为【 】。include class Point{public:Point(double i, double j) 下列程序的执行结果为【 】。include <iostream. h>class Point{public:Point(double i, double j) { x=i; y=j;}double Area() const { return 0.0;}private:double x, y;};class Rectangle: public Point{public:Rectangle(double i, double j, double k, double 1)double Area() const {return w * h;}private:double w, h;};Rectangle: :Rectangle(double i, double j, double k. double 1): Point(i,j).{w=k, h=1}void fun(Point s){cout<<s. Area()<<end1;}void main( ){Rectangle rec(3.0, 5.2, 15.0. 25.0);fun(rec)}

考题 设有定义"double a[10],*s=a;",以下能够代表数组元素a[3]的是( )。A.(*s)[3]B.*(s+3)C.*s[3]D.*s+3

考题 以下选项中,能定义s为合法的结构体变量的是( )。A.typedef struct abc { double a; char b[10]; } s;B.struct { double a; char b[10]; }s;C.struct ABC { double a; char b[10]; } ABC s;D.typedef ABC { double a; char b[10]; } ABC s;

考题 以下选项中,能定义s为合法的结构件变量的是_______。A.typedef struct abc { double a; char b[10]; }s;B.struct { double a; char b[10]; }sC.struct ABC { double a; char b[10]; } ABCs;D.typedef ABC { double a; char b[10]; } ABCs;

考题 若主函数中有以下定义和语句: main() { double a[3][4]; …… fun(a) ; } 则正确的fun函数的首部是( )A.void fun(double *s)B.fun(double *s[4])C.fun(double(*s)[3])D.void fun(double(*s)[4])

考题 以下函数的功能是:计算a的n次方作为函数值返回。 double fun(double a,int n) { int i;double s=1.0; for(i=1;i A.s*iB.s*aC.s+i*iD.s+a*a

考题 设有如下变量char c = 'c';int i = 10;double d = 10;long l = 1;String s = "Hello";以下哪些语句编译不出错? A.c=c+i;B. s+=i;C. i+=s;D. c+=s;

考题 ( 28 )设有定义 double a[10] , *s=a ; ,以下能够代表数组元素 a[3] 的是A ) ( *s ) [3]B ) * ( s+3 )C ) *s[3]D ) *s+3

考题 What would you say to the hotel receptionist to get a double room?__________ A.Rent us a double room. B.Book us a double room. C.We'd like to have a double room. D.Let's have a double room.

考题 阅读下列说明和C++代码,将应填入 (n) 处的字句写在答题纸的对应栏内。 【说明】 某大型购物中心欲开发一套收银软件,要求其能够支持购物中心在不同时期推出的各 种促销活动,如打折、返利(例如,满300返100)等等。现采用策略(Strategy)模式实现该要求,得到如图5-1所示的类图。 图5-1 策略模式类图 【C++代码】 #include using namespace std; enum TYPE{NORMAL, CASH_DISCOUNT, CASH_RETURN}; class CashSuper{ public: (1); }; class CashNormal : public CashSuper { //正常收费子类 public: double acceptCash(double money) { retum money; } }; class CashDiscount : public CashSuper { private: double moneyDiscount; // 折扣率 public: CashDiscount(double discount) { moneyDiscount= discount; } double acceptCash(double money) { retum money * moneyDiscount; } }; class CashRetum : public CashSuper { // 满额返利 private: double moneyCondition; // 满额数额 double moneyReturn; // 返利数额 public: CashRetnm(double motieyCondition, double moneyReturn) { this->moneyCondition=moneyCondition; this->moneyReturn=moneyRetum; } double acceptCash(double money) { double result = money; if(money>=moneyCondition) result=money-(int)(money/moneyCondition ) * moneyRetum; return result ; } }; class CashContext { private: CashSuper *cs; public: CashContext(int type) { switch(type) { case NORMAL: //正常收费 (2) ; break; case CASH_RETURN: //满300返100 (3) ; break; case CASH_DISCOUNT: //打八折 (4) ; break; } } double GetResult(double money) { (5) ; } }; //此处略去main( )函数

考题 阅读下列说明和Java代码,将应填入 (n) 处的字句写在答题纸的对应栏内。 【说明】 某大型购物中心欲开发一套收银软件,要求其能够支持购物中心在不同时期推出的各种促销活动,如打折、返利(例如,满300返100)等等。现采用策略(Strategy)模式实现该要求,得到如图6-1所示的类图。 import javA.util.*; enum TYPE { NORMAL, CASH_DISCOUNT, CASH_RETURN}; interface CashSuper { public (1) ; } class CashNormal implements CashSuper{ // 正常收费子类 public double accptCash(double money){ return money; } } class CashDiscount implements CashSuper { private double moneyDiscount; // 折扣率 public CashDiscount(double moneyDiscount) { this moneyDiscount = moneyDiscount; } public double acceptCash(double money) { return money* moneyDiscount; } } class CashReturn implements CashSuper { // 满额返利 private double moneyCondition; private double moneyReturn; public CashReturn(double moneyCondition, double moneyReturn) { this.moneyCondition =moneyCondition; // 满额数额 this.moneyReturn =moneyReturn; // 返利数额 } public double acceptCash(double money) { double result = money; if(money >= moneyCondition ) result=money-Math.floor(money/moneyCondition ) * moneyReturn; return result; } } class CashContext_{ private CashSuper cs; private TYPE t; public CashContext(TYPE t) { switch(t){ case NORMAL: // 正常收费 (2) ; break; case CASH_DISCOUNT: // 满300返100 (3) ; break; case CASH_RETURN: // 打8折 (4) ; break; } } public double GetResult(double money) { (5) ; } ∥此处略去main( )函数 }

考题 英译中:You can make long distance calls from your room.

考题 英译中:Here’s your room. May I put your luggage/baggage here?

考题 英译中:I’m sorry to disturb you. I’m here to check the smoke detector in your room.

考题 英译中:Double floor stacking

考题 英译中:Shipping order(S/O)

考题 英译中:Cash discount

考题 单选题设有定义double a[10],*s=a;以下能够代表数组元素a[3]的是(  )。A (*s)[3]B *(s+3)C *s[3]D *s+3

考题 单选题What would you say to the hotel receptionist to get a double room?A Rent us a double room.B Book us a double room.C We'd like to have a double room.D Let 's have a double room.

考题 名词解释题英译中:Cash discount

考题 名词解释题英译中:Double pallet jack