For Loop Structure

Java : For Loop Structure 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 for a game of dice is to be simulated for two players, each player gets a chance to throw his dice

View Solution


Program [43]

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

View Solution


Program [44]

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

View Solution


Program [45]

java program for Duck number

View Solution


Program [46]

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

View Solution


Program [47]

java program to print fibonacci series up to n terms

View Solution


CCC Online Test 2021 CCC Practice Test Hindi 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 NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad