newbie

From: Danny Gopie (ouygiytf_at_jhgvkuy.nl)
Date: 11/22/04


Date: Mon, 22 Nov 2004 17:16:31 +0100

Hello

i want to write a program that reads an integer between 0 and 1000 and
summarizes all the digits in the integer. For example, if an integer is 932,
the sum of all the digita is 14.

Does anyone knows how to do this?

Danny



Relevant Pages

  • Re: newbie
    ... > summarizes all the digits in the integer. ... > the sum of all the digita is 14. ...
    (comp.lang.java)
  • Re: newbie
    ... > summarizes all the digits in the integer. ... > the sum of all the digita is 14. ...
    (comp.lang.java.gui)
  • Re: newbie
    ... > summarizes all the digits in the integer. ... > the sum of all the digita is 14. ...
    (comp.lang.java.programmer)
  • Re: newbie
    ... > summarizes all the digits in the integer. ... > the sum of all the digita is 14. ...
    (comp.lang.java)
  • newbie
    ... summarizes all the digits in the integer. ... the sum of all the digita is 14. ... Danny ...
    (comp.lang.java)