Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: need some help with this program, I am stumped appreciate any input, thank you Date: Sun, 15 Dec 2013 10:10:59 -0500 Organization: A noiseless patient Spider Lines: 6 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 15 Dec 2013 15:12:27 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="6b9e92482af47766954d85fb77d372f5"; logging-data="31832"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XIW1EwNsjyQRTVYoXfaGLkXF5oJ46OF8=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 In-Reply-To: Cancel-Lock: sha1:nHXdFyM/xdpOv13sllB+DwUaGaI= Xref: csiph.com comp.lang.java.programmer:26928 On 12/14/2013 09:37 PM, john wrote: > An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, 371 is an Armstrong number, since 33 + 73 + 13 = 371. Write a method called isArmstrongNum to determine if a given number is an Armstrong number. Write a program that generates 100 three-digit random numbers and calls isArmstrongNum method to find all Armstrong numbers among these 100 random numbers. > So, You Need to Write a Program but Don't Know How to Start