题目内容

阅读下面程序,填空代码实现输入的任意一个十进制数到n进制数的转换。#includeintmain(){charb[17]=“0123456789ABCDEF”;intc[64],i=0,base;longn;printf("enteranumber:\n");scanf("%ld",&n);printf("enternewbase:\n");scanf("%d",&base);do{c[i]=______(1)_______;i++;___(2)_______;}while(n!=0);printf("transmitenewbase:\n");for(--i;i>=0;--i){printf("%c",____(3)_______);}return0;}

查看答案
更多问题

I felt terribly sorry to learn that his sister ________ after having fought against cancer for three years.

A. passed by
B. passed away
C. passed on
D. passed down

The Chinese swimmer was ________ at the beginning of the women's 100-meter freestyle final, but she didn't give up and finally took the lead.

A. falling ill
B. left behind
C. given away
D. passed away

The rich man thinks that he will die in disgrace if he does not ________ his money for the public good.

A. give away
B. give way
C. give up
D. give in

They ________ letting him go and would like him to stay on after his present contract expires.

A. have not intention of
B. had no intention of
C. had an intention of
D. have an intention of

答案查题题库