JAVA Looping Statements

Java : JAVA Looping Statements Program List




Program [1]

Write a program to find the sum of 1st 10 odd natural numbers.

View Solution


Program [2]

Write a program to find the sum of 1st 10 even natural numbers.

View Solution


Program [3]

Write a program to find the sum of all 3-digit even natural numbers.

View Solution


Program [4]

Write a program to find the sum of all 3 digit odd natural numbers, which are multiples of 5.

View Solution


Program [5]

Write a program to input an integer and find its factorial.

View Solution


Program [6]

Write a program to input an integer and print its factors.

View Solution


Program [7]

Write a program to input an integer and count the number of factors.

View Solution


Program [8]

java program to input an integer and check whether it is a prime number or not.

View Solution


Program [9]

java program to input 10 integers and find their sum.

View Solution


Program [10]

java program to input 10 integers and find the sum of even numbers only.

View Solution


Program [11]

java program to input 10 integers and find the sum of two digit as well as three digit numbers separately

View Solution


Program [12]

java program to input 10 integers and display the largest integer

View Solution


Program [13]

java program to input 10 integers and display the largest as well as the smallest integer

View Solution


Program [14]

java program to input 10 integers and display the largest even integer

View Solution


Program [15]

java program to input 10 integers and display the largest even and smallest odd integer

View Solution


Program [16]

java program to input 10 integers and check whether all the entered numbers are even numbers or not

View Solution


Program [17]

java program to input 10 integers and check whether all the entered numbers are same or not.

View Solution


Program [18]

java program to input 10 integers and check whether the entered numbers are in ascending order or not

View Solution


Program [19]

java program to find the sum of 1st 10 numbers of Fibonacci series

View Solution


Program [20]

java program to print the first 15 numbers of the Pell series

View Solution


Program [21]

java program to find the sum of 1st 10 numbers of Lucas series

View Solution


Program [22]

java program to input an integer and check whether it is perfect, abundant or deficient number

View Solution


Program [23]

java program to input two integers and check whether it forms an amicable pair or not

View Solution


Program [24]

java program to pass an integer as argument and find the sum of its digits

View Solution


Program [25]

java program to pass an integer as argument and find the sum of odd digits and even digits separately

View Solution


Program [26]

java program to pass an integer as argument and find the average of its digits

View Solution


Program [27]

java program to pass an integer as argument and print the largest as well as smallest digit

View Solution


Program [28]

java program to input an integer and remove all the even digits from it

View Solution


Program [29]

java program to pass an integer as argument and check whether all digits in it are even digit or not

View Solution


Program [30]

java program to pass an integer as argument and check whether the digits are in ascending order or not

View Solution


Program [31]

java program to pass an integer as argument and check whether it is Armstrong number or not

View Solution


Program [32]

java program to input an integer and check whether it is an automorphic trimorphic or automorphic number or no

View Solution


Program [33]

java program to input an integer and check whether it is Harshad or Niven number or not

View Solution


Program [34]

java program to input a number and check whether it is a Kaprekar number or not

View Solution


Program [35]

java program to input two integers and find their Least Common Multiple

View Solution


Program [36]

java program to input two integers and find their Highest Common Factor

View Solution


Program [37]

java program to check whether number is a Palindrome or a Perfect number.

View Solution


Program [38]

java program to check number is buzz if is it then find GCD

View Solution


Program [39]

java program to check number is a prime and Automorphic or not

View Solution


Program [40]

java program to input 10 integers and print the second largest number

View Solution


Program [41]

java program to find the sum of the following series

View Solution


Program [42]

java program to print the sum of negative numbers, sum of positive even numbers and sum of positive odd numbers

View Solution


Program [43]

java program for a game of dice is to be simulated for two players, each player gets a chance to throw his dice

View Solution


Program [44]

java program to input 10 integers and find the sum of the prime numbers only

View Solution


Program [45]

java program to input 10 integers and find the average of the prime numbers only

View Solution


Program [46]

java program to input 10 integers and find the sum of the perfect numbers only

View Solution


Program [47]

java program to input 10 integers and find the average of the perfect numbers only

View Solution


Program [48]

java program to input 10 integers and find the largest prime number if any

View Solution


Program [49]

java program to input 10 integers and find the smallest perfect number if any

View Solution


Program [50]

java program to generate all 2 digit prime numbers

View Solution


Program [51]

java program to generate all perfect numbers between 1 to 100

View Solution


Program [52]

java program to generate all 3 digit palindrome numbers

View Solution


Program [53]

java program to Input an integer and check whether it is a special number or not.

View Solution


Program [54]

java program to input a number and check whether it is a magic number or no

View Solution


Program [55]

java program to input an integer as argument and print the number by having the digits arranged in ascending order

View Solution


Program [56]

java program to pass an integer as argument and check whether all digits in it are unique or not

View Solution


Program [57]

java program to pass an integer as argument and print the frequency of each digit in it

View Solution


Program [58]

java program to input 10 integers and find the sum of two digit as well as threedigit numbers separately

View Solution


Program [59]

jaav program to input 10 numbers and print the largest prime number if any

View Solution


Program [60]

java program to generate all 2 digit twisted prime number

View Solution


Program [61]

java program to Input an integer and form a new number where the digits are in ascending order

View Solution


Program [62]

java program to pass an integer as argument and print the second largest digit

View Solution


Program [63]

java program to input a number and check whether it is a happy number or not

View Solution


Program [64]

java program to input a number and print all its prime factors using prime factorization

View Solution


Program [65]

java program to input a number and check whether it is a Smith number or not

View Solution


Program [66]

java program to accept a number and check and display whether it is a spy number or not

View Solution


Program [67]

java program to input a number and check and print whether it is a Pronic number or not

View Solution


Program [68]

java program for Disarium Number

View Solution


Program [69]

java program for Automorphic Number

View Solution


Program [70]

java program for Duck number

View Solution


Program [71]

java program for fascinating numbers

View Solution


Program [72]

java program for Evil Number

View Solution


Program [73]

java program to print the sum of negative numbers, sum of positive odd numbers and sum of positive even numbers

View Solution


Program [74]

java program to print denomination of an input amount and also print the number of notes

View Solution


Program [75]

java program to print floyds triangle

View Solution


Program [76]

java program to print fibonacci series up to n terms

View Solution


Program [77]

java program to count the number of digits in given number

View Solution


Program [78]

java program to print the frequency of digits present in given number

View Solution


Program [79]

java program to find the difference between greatest and smallest digits presents in the number

View Solution


Program [80]

java program for pattern printing

View Solution


Program [81]

java program for pattern printing

View Solution


Program [82]

java program for pattern printing

View Solution


Program [83]

java program for pattern printing

View Solution


Program [84]

java program for pattern printing

View Solution


Program [85]

java program for pattern printing

View Solution


Program [86]

java program for pattern printing

View Solution


Program [87]

java program to print all prime palindrome number between m and n

View Solution


Program [88]

java program to check entered number is prime palindrome or not

View Solution


Program [89]

java program to convert binary number to its decimal equivalent

View Solution


Program [90]

Develop a number guessing game where the user has to guess a number between 1 and 100, and the program provides feedback on whether the guess is too high, too low, or correct. Use a do while loop to keep the game running until the correct guess is made

View Solution


Program [91]

Java Program to print first n Buzz Number

View Solution


Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2024 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz