Loop Programs
Programs using for, while, do-while loops and array methods
6 program solutions
Program Solutions
1
Multiplication Table
Program to print multiplication table
Beginner
View Solution
2
Sum of n Natural Numbers
Program to calculate sum of first n natural numbers
Beginner
View Solution
3
Factorial of a Number
Program to calculate factorial of a number
Beginner
View Solution
4
Reverse a Number
Program to reverse digits of a number
Beginner
View Solution
5
Palindrome Check
Program to check if a number or string is palindrome
Beginner
View Solution
6
Prime Number Check
Program to check if a number is prime
Intermediate
View Solution