S
Schoolabe
CoursesProgramsCompaniesQuizInterview PrepAbout
C++Loop Programs
HomeProgramsC++Loop Programs

Loop Programs

Programs using loops (for, while, do-while)

14 program solutions

Back to Topics

Program Solutions

1

Multiplication Table

Program to print multiplication table of a number

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 the digits of a number

Beginner
View Solution
5

GCD of Two Numbers

Program to find Greatest Common Divisor using Euclidean algorithm

Intermediate
View Solution
6

LCM of Two Numbers

Program to find Least Common Multiple of two numbers

Intermediate
View Solution
7

Palindrome Check

Program to check if a number is palindrome

Beginner
View Solution
8

Prime Check

Program to check if a number is prime

Beginner
View Solution
9

Primes in Range

Program to find all prime numbers in a given range

Intermediate
View Solution
10

Armstrong Number

Program to check if a number is an Armstrong number

Intermediate
View Solution
11

nth Fibonacci Number

Program to find the nth Fibonacci number

Beginner
View Solution
12

Calculate the Power of a Number

Program to calculate base raised to the power of exponent

Beginner
View Solution
13

Factors of a Natural Number

Program to find all factors of a number

Beginner
View Solution
14

Basic Calculator

Program to create a basic calculator with arithmetic operations

Beginner
View Solution
S
Schoolabe

Learn, Practice, Ace Coding

ProgramsCompaniesTutorialsPracticeQuizInterview Prep
AboutContactCareersBlog
DocumentationAPI ReferenceCommunitySupport
Privacy PolicyTermsRefund PolicyCookie Policy

© 2025 Schoolabe