Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,086 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,560 people online right now. Registration is fast and FREE... Join Now!




C program help?

 
Reply to this topicStart new topic

C program help?

dogar sahab
13 Apr, 2008 - 12:16 PM
Post #1

New D.I.C Head
*

Joined: 13 Apr, 2008
Posts: 7

write a C program that takes a floating point point number from the use and prints the rightmost digit of the number as well as the right most digit of the integral part...
e.g
12.345
output should be:
the right most digit is 5
the right most digit of integral part is 2.
User is offlineProfile CardPM
+Quote Post

gabehabe
RE: C Program Help?
13 Apr, 2008 - 12:48 PM
Post #2

Donkey DIC
Group Icon

Joined: 6 Feb, 2008
Posts: 5,522



Thanked: 96 times
Dream Kudos: 2650
Expert In: ruling the world.

My Contributions
Do you have any code? Check the forum rules...
code.gif

Help us to help you smile.gif
User is offlineProfile CardPM
+Quote Post

dogar sahab
RE: C Program Help?
13 Apr, 2008 - 01:15 PM
Post #3

New D.I.C Head
*

Joined: 13 Apr, 2008
Posts: 7

QUOTE(gabehabe @ 13 Apr, 2008 - 01:48 PM) *

Do you have any code? Check the forum rules...
code.gif

Help us to help you smile.gif

thanks for informing me...
please guide me from where i can get the code..i am a novice on this site.i dont know about code compulsion..please help me in ths regard..thanks..i am online at
dogarsahab@hotmail.com
User is offlineProfile CardPM
+Quote Post

NickDMax
RE: C Program Help?
14 Apr, 2008 - 06:29 AM
Post #4

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,858



Thanked: 49 times
Dream Kudos: 550
My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: code.gif

Thanks.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 08:13PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month