pl help me to writea program that takes a decimal number and coverts it to both octal and hexadecimal equivalents with two function detooct and dectohex. The out put willbe as under
enter a number 456
Num 456,octal710(710)hex1c8(1c8)
k.moorthy 0 Newbie Poster

iamthwee
agiorgio 0 Newbie Poster
greizel 0 Newbie Poster
greizel 0 Newbie Poster
Bench 212 Posting Pro
anupam_smart 2 Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.