hugzzy123 0 Newbie Poster

please help me on C++ i already converted decimal to hex
this are the instruction

write a program that will ask the user to input an integer (4 byte number) n
Display the hexadecimal equivalent of n
then the reverse byte order of n , Display it on Hexadecimal as well
Ex.
Input an integer : 100
Hexa Format : 0x64
Reverse byte order 0x64000000

please help Thanks!

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.