c programms

Discussion in 'C' started by amolkarale, Sep 10, 2011.

  1. amolkarale

    amolkarale New Member

    Joined:
    Sep 10, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    :confused:
    Write a Program to find the sum of digits of a number reducing it
    to one digit.using do while loop.
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Very easy. How far have you got and where are you stuck? What algorithm are you going to use?
     

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