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

Make a C program????//

Discussion in 'C' started by dogar sahab, Apr 15, 2008.

  1. dogar sahab

    dogar sahab New Member

    Joined:
    Apr 13, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Write a C program that takes a floating point number from the user and prints the rightmost digit of the number as well as prints the rightmost digit of the integral???
    e.g
    if the input is
    32.145
    the output on the screen should be
    5
    2
     

Share This Page