Construct a C program that will accept up to 3 digit integer number and display the hundredth's digit, tenth's digit, and one's digit.
Example:
Enter integer number (maximum of 3) : 143

Hundredth's place : 1
Tenth's place : 4
One's place : 3

Recommended Answers

All 2 Replies

Do it your damn self. If you have a specific problem with your code, we'll help, but don't expect anyone to do everything for you.

I AGREE im no expert on any language but i would spend a good week trying and testing things and then a few days scratching my head before asking for help.
i mean come on.. if this is homework why didn't you just tell your teacher to give you the answer sheet as that would be the same

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.