c语言的n进制转换为10进制
#include<string.h>int main(){long t1;int i,n,t,t3;char a[100];printf("please input anumber string:\n");gets(a);strupr(a);t3=strlen(a);t1=0;scanf("%d",&n);for(i=0;i<t3;i+