im in computer science and need help with a problem on this
THE NUMBER WAS 7
7777777777
i need to do it with out.printlnHow to make numbers repeat in J creator using Java language?
you can go to this website it is really cool ivince.webs.com
click on webcasts
and ivince awardsHow to make numbers repeat in J creator using Java language?
Like any number of times? Just use a loop
String number =';';;
int noTimes = 7;
for(in counter = 0;counter %26lt; noTimes;counter++)
number+=';7';;
System.out.println(number);
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment