蓝桥杯C语言基础练习 十六进制转十进制

普通方法直接转化为十进制code 代码 #include<stdio.h> #include<string.h> #include<math.h> int getN(char s) { char nn; switch(s) { case '0':nn=0;break; case '1':nn=1;break; case '2
相关文章
相关标签/搜索