1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

help to solve a problem

Discussion in 'C' started by dhruvil shah, Jan 31, 2011.

  1. dhruvil shah

    dhruvil shah New Member

    Joined:
    Jan 29, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    hi every one....i just started using c a few days before so m a newbie...if you can help me....its a small c program
    "a program that reads a floating point no. and displays the right most digit of the integral part of the number"help:confused:
     
  2. DRK

    DRK New Member

    Joined:
    Apr 13, 2012
    Messages:
    44
    Likes Received:
    3
    Trophy Points:
    0
    Show us what have you done already, what do you have problem with. It looks like you want someone to do your homework for you.
     
  3. dhruvil shah

    dhruvil shah New Member

    Joined:
    Jan 29, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    actually i dont knw the formula to get the right most digit of the integer number...if you would provide that it would be great of you....
     
  4. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    1
    Trophy Points:
    0
    Typecast into int and take a mod 10
     

Share This Page