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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice