About 5,850 results
Open links in new tab
  1. Java program to print multiple of 5 - tutorialsinhand

    Given below is java program to print multiple of 5 between 1 to 50. public static void main (String[] args) { System.out.println("Multiple of 5 are: "); for (int number=0; number<50; number++){ …

  2. Create a java program to display multiples of a number

    Aug 12, 2016 · You'll need to create a loop (for loop or while loop) to iterate from 2 to n+1, and multiply i by your loop variable, outputting each value inside the loop. U can use following …

  3. Java program to print multiple of 5 - YouTube

    Aug 10, 2020 · Java program to print multiple of 5 or program to print multiples of 5 in java is explained in this video tutorialHere we are going to learn about how to use...

  4. 110+ Java Interview Programs With Solutions

    May 16, 2023 · Write a Java program to find all pairs of elements in the given array whose sum is equal to a given number. For example, if {4, 5, 7, 11, 9, 13, 8, 12} is an array and 20 is the …

  5. java - Displaying some multiples - Code Review Stack Exchange

    Apr 17, 2023 · Write a program to calculate the multiples of a given number. Have the user enter a number, and then use a for loop to display all the multiples of that number from 1 to 12. It is …

  6. Java : Looping Statement - Exercises and Solution - Tutor Joes

    Write a program to check whether a number is a Strong Number or not.

  7. Java Pattern Programs - Learn How to Print Pattern in Java

    Apr 8, 2025 · Java pattern programs are a great way to learn and practice coding skills. They help you understand loops, nested loops, and how to think logically to solve problems.

  8. Study Glance | Java Programming Lab Manual (Programs)

    Write a Java program that implements a multi-thread application that has three threads. First thread generates random integer every 1 second and if the value is even, second thread …

  9. Java Array: Exercises, Practice, Solution - w3resource

    May 9, 2025 · This resource features 79 Java Array Exercises, each complete with solutions and detailed explanations. Additionally, each exercise includes four related problems, providing a …

  10. how to determine the multiples of numbers in java

    Oct 10, 2010 · A number x is a multiple of y if and only if the reminder after dividing x with y is 0. In Java the modulus operator (%) is used to get the reminder after the division. So x % y gives …

  11. Some results have been removed
Refresh