Article View: fj.lang.basic
Article #251I NEED HELP ON A BASIC PROBLEM******************
From: Star190
Date: Wed, 26 Mar 1997 00:00
Date: Wed, 26 Mar 1997 00:00
14 lines
964 bytes
964 bytes
Produce a listing of all three-digit numbers whose digits are 1,2,3. Spaces are not to appear between the digits of the numbers. (hint: use triple-nested loops with control variables I, J, and K ranging from 1 to 3. If I, J, and K are the digits, the number is 100 x I + 10 x J + K.) This is the problem that i have to work. I don't understand how to use a triple-nested loop when i don't know how many possibilities there will be. (For I=1 to ?) If anyone can help me solve this problem i would be very greatful. Thank you, Sandi
Technical Details
Message-ID:
<19970326001600.TAA19631@ladder01.news.aol.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5300,806f30e42e158163,start X-Google-Attributes: gidf5300,public From: star190@aol.com (Star190) Subject: I NEED HELP ON A BASIC PROBLEM****************** Date: 1997/03/26 Message-ID: <19970326001600.TAA19631@ladder01.news.aol.com> X-Deja-AN: 228349627 Organization: AOL http://www.aol.com Newsgroups: fj.lang.basic X-Admin: news@aol.com