0
How to write a program that receives a number as characters (char) from 0-9 and A-F(A=10;B=11...)
How to write a program that receives a number as characters (char) from 0-9 and A-F(A=10;B=11...)
2 Respuestas
0
Hey there! Could you show us your attempt?
0
I'm sure that there is something wrong in that but :
Char x;
Scanf("%c",x);
If (x=='A') {x=10;}
If (x=='B'l{x=11;}
.
.
.
If(x=='1'){x=1;}
.
.
.