首页/ 题库 / [多选题]

I have coffee 

相关题目

—Though I have been drinking, I can drive home safely.

—No, I will be the driver.                

I have just finished the        in the online forum. 

— I have a scar on my face, so I’ve make up my mind to have a plastic surgery.

                                       .

I’m terribly sorry that I’ve spilled some coffee on the table.

 _________________.

— Hi, Helen, I’ll have an interview tomorrow. I’m afraid I can’t make it.

                     

                     

I have worked for IBM for 3 years.

— Can you stay here longer?

                    , but I have to be back tomorrow.

I have coffee            breakfast time.

—Hello, David! I haven’t heard from you for a long time. How have you been recently?

                     

I have an English class          a week.

                     

— It's lovely. I have never been to such beautiful place like that.

—Hows your report ______?

—Not too bad,I have already done about 4000 words.

I have been looking forward to       from my parents. 

                     

— Thank you. I must say I have a great staff.

--- A: I have many questions about studying abroad.

--- B: Would you like to make an appointment?                     

—  How do I get to the garage? I need to have my car repaired.

—                       

—  Sorry. I have taken your car key by mistake.

—                       

—  I'm sorry. I shouldn't have put the printer here.

—                       .

public class XXK4 {

public static void main(String[] args) {

int [][]a={{2,5,8},{3,6,9},{4,5,6}};

int []b=new int[3];

int i,j;

for(i=0; i<a.length; i++)

for(j=0; j<a[i].length; j++)

b[i]+=a[i][j];

for(i=0; i<b.length; i++)

System.out.print(b[i]+" ");

}

}

class ABC {

String name;

double price;

public ABC(String na, double pr) {name=na; price=pr;}

public int compareTo(ABC x) {

if(name.compareTo(x.name)>0) return 1;

if(name.compareTo(x.name)<0) return -1;

else return 0;

}

}

public class XXK5 {

public static void main(String[] args) {

String []s={"apple", "pear", "tangerme", "banana", "grape"};

double []d={3.8, 2.5, 3.2, 4.3, 5.2};

ABC []ar=new ABC[s.length];

int i,k=0;

for(i=0; i<ar.length; i++)

ar[i]=new ABC(s[i],d[i]);

for(i=1; i<ar.length; i++)

if(ar[i].compareTo(ar[k])>0) k=i;

System.out.println(ar[k].name+" "+ar[k].price);

}

}

广告位招租WX:84302438

免费的网站请分享给朋友吧