Hex to decimal | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hex to decimal

Write a program which accepts a hexadecimal number as its input and then checks whether the number is divisible by 5 or not. If the number is divisible by 5 then print a message and the quotient is also printed in hexadecimal format

25th Sep 2018, 10:09 PM
Nipun Jain
Nipun Jain - avatar
1 Answer
+ 5
Are you sure this ain't your assignment?
25th Sep 2018, 11:21 PM
Dlite
Dlite - avatar