المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Need help with counting code



Java Programming
03-27-2009, 05:24 PM
I need help i have to write a program that will count the first n numbers of any set of symbols. Should look like: Input symbols=012, n=10; output=0 1 2 10 11 12 20 21 22 100 Input symbols=ab, n=10; output= a b ba bb baa bab bba bbb baaa baab import java.util.*; public class Counting{