0
Do while loop I need serious help
write a program that allows the user to input any hexadecimal characters. the program should continue asking the user to enter characters and end the program if the user stop entering characters. convert each character entered to its decimal equivalent. treat each single inputted character as a separate value. display the original hex value and the corresponding decimal value
4 odpowiedzi
+ 1
actualy if u want to input a hexadecimal number just start with '0x' and the system will take it as a hexadecimal number. ex- 0x55 means 85
and if you want to input a octal number just start with '0' and the system will take it as a octal number. ex- 075 means 61
+ 1
ok, will try
0
can you try to write a code for it
0
did you try to do the code