List of Java Programming Language Loop Programs with Examples

  1. Write a java program to print numbers from 1 to 10 using loop
  2. Write a java program to calculate the sum of first 10 natural number using loop
  3. Write a Java program to print multiplication table of given number
  4. Write a Java program to find the factorial value of any number entered through the keyboard
  5. Write a Java program that prompts the user to input an integer and then outputs the number with the digits reversed order
  6. Write a Java program that reads a set of integers, and then prints the sum of the even and odd integers using loop
  7. Write a Java program to check whether the number is a prime number or not
  8. Write a Java program to calculate HCF of Two given numbers using loop
  9. Write a Java program to enter the numbers till the user wants and at the end it should display the count of positive, negative and zeros
  10. Write a Java program to enter the numbers till the user wants and at the end the program should display the largest and smallest numbers entered
  11. Write a Java program to print out all Armstrong numbers between 1 to 600 using loop
  12. Write a java program to count total number of notes in entered amount using loop
  13. Write a Java program to print Fibonacci series of n terms where n is input by user using loop
  14. Write a java program to calculate the sum of following series where n is input by user

Leave a Comment