+ 1

what is the wrong about base 16 in this code? Is it an error? Please help me.

https://code.sololearn.com/cSHkw20mznqk/?ref=app

15th May 2017, 10:58 AM
Sandaru Chamika
Sandaru Chamika - avatar
7 Antworten
+ 5
https://code.sololearn.com/cSHkw20mznqk/?ref=app
15th May 2017, 11:04 AM
Burey
Burey - avatar
+ 4
add this between line 59 and 60 if(cha.length()>0) and inputs should be seperated by newline example: 15 16
15th May 2017, 1:27 PM
Burey
Burey - avatar
+ 4
and it should do.....?
15th May 2017, 1:54 PM
Burey
Burey - avatar
+ 4
so input of 15 16 should output F? and 15 2 should output 111? and so on?
15th May 2017, 2:45 PM
Burey
Burey - avatar
+ 1
help me to fix this
15th May 2017, 11:05 AM
Sandaru Chamika
Sandaru Chamika - avatar
+ 1
its only give binary results only.
15th May 2017, 1:32 PM
Sandaru Chamika
Sandaru Chamika - avatar
+ 1
no. i want it to given base. its can be 2, 8 or 16.
15th May 2017, 2:36 PM
Sandaru Chamika
Sandaru Chamika - avatar