- Category:
- Other systems
- Tags:
-
[WORD]
- File Size:
- 220kb
- Update:
- 2013-03-29
- Downloads:
- 0 Times
- Uploaded by:
- 应超
Description: #include<stdio.h>
#include<math.h>
int main(){
int b,c,i,j
int d[10000]
char a[37]={ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , A , B , C , D , E , F , G , H , I , J , K , L , M , N , O , P , Q , I , S , T , U , V , W , X , Y , Z }
while(scanf(" d d",&b,&c)!=EOF){
i=0
while(b/c!=0){
d[i]=b c
i++
b=b/c
}
d[i]=b c
if(b<0)
printf("-")
for(j=i j>=0 j--){
if(d[j]<10)
printf(" d",abs(d[j]))
if(d[j]>=10)
printf(" c",a[d[j]])
}
printf("\n")
}
return 0
}
To Search:
File list (Check if you may need any files):
sysconvert.txt
新建文本文档.txt
银行面试模拟题目.doc