About 399,000 results
Open links in new tab
  1. Java How how do I print a statement 1000 times with least amount

    Nov 1, 2018 · You can use recursion! If you call the print function with an argument of 1000, this will print "Bob ate a burger" 1000 times.

  2. Java – How to print name 1000 times without looping?

    Jan 1, 2020 · Here’s a Java example to print a name 1000 times without looping or recursion, instead, use String concatenation and simple math. Just for fun.

  3. Java program that prints 1000 times. - Physics Forums

    Oct 8, 2011 · We have to code a program that prints a statement a thousand times, but without the use of loops, only methods. I know I can create a method that contains a number of the …

  4. How do I print my name 1000 times in Java without looping?

    Jul 19, 2018 · use a recursive function that will call itself 1000 times, and make the function print your name

  5. Print your name 1000 times without using any loop in Java

    Aug 17, 2021 · In this video, I have explained how to print a string 1000 times without using any loop.~~~Subscribe to this channel, and press bell icon to get some interes...

  6. How to print N times without using loops or recursion

    Mar 12, 2023 · How to print "Hello" N times (where N is user input) without using loop or recursion or goto. Input : N, that represent the number of times you want to print the statement. Output : …

  7. run program 1000 times in java - Stack Overflow

    Feb 23, 2015 · The program works exactly as I want it to, running until two of the three is out of the duel, and then printing out the winner of the duel. My next task with this program is to print …

  8. Practice-It /Chapter 1- Introduction to Java Programming - GitHub

    /*Write a program in a class named Shining that prints the following line of output 1000 times: All work and no play makes Jack a dull boy. You should not write a program whose source code …

  9. Code to say sorry 500 times · GitHub

    Oct 29, 2024 · print repeat_speech (500,'Sorry') ... Code to say sorry 500 times. GitHub Gist: instantly share code, notes, and snippets.

  10. How to do a program that repeats 1000 times and then stops?

    Sep 9, 2015 · public class Shining { public static void main(String[] args) { a(1000); } static void a(int count) { if (count > 0) { System.out.println("All work and no play makes Jack a dull boy."); …

  11. Some results have been removed
Refresh