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

Basic Programs

Fundamental C++ programs to get started with programming

14 program solutions

Back to Topics

Program Solutions

1

Hello World

The classic first program that prints "Hello World" to the console

Beginner
View Solution
2

Display Your Name

Program to display your name on the screen

Beginner
View Solution
3

User Input

Program to take input from user and display it

Beginner
View Solution
4

Sum of Two Numbers

Program to add two numbers entered by the user

Beginner
View Solution
5

Swap Two Numbers

Program to swap two numbers using a temporary variable

Beginner
View Solution
6

Size of int, float, double, char

Program to display the size of different data types

Beginner
View Solution
7

Float Multiplication

Program to multiply two floating-point numbers

Beginner
View Solution
8

ASCII Value of a Character

Program to find and display the ASCII value of a character

Beginner
View Solution
9

Convert Fahrenheit to Celsius

Program to convert temperature from Fahrenheit to Celsius

Beginner
View Solution
10

Calculate Simple Interest

Program to calculate simple interest

Beginner
View Solution
11

Calculate Compound Interest

Program to calculate compound interest

Beginner
View Solution
12

Area and Perimeter of Rectangle

Program to calculate area and perimeter of a rectangle

Beginner
View Solution
13

Find Quotient and Remainder

C++ Program to Find Quotient and Remainder (5 Ways)

Beginner
View Solution
14

Add Two Numbers

C++ Program to Add Two Numbers (6 Methods With Output)

Beginner
View Solution
S
Schoolabe

Learn, Practice, Ace Coding

ProgramsCompaniesTutorialsPracticeQuizInterview Prep
AboutContactCareersBlog
DocumentationAPI ReferenceCommunitySupport
Privacy PolicyTermsRefund PolicyCookie Policy

© 2025 Schoolabe