0% found this document useful (0 votes)
4 views11 pages

Oopm

The document outlines a project for creating a simple scientific calculator using C++. It details the calculator's functionalities, including basic arithmetic and scientific operations, and describes the flow of the program along with error checking mechanisms. The project serves as a learning tool for beginners in programming, demonstrating key C++ concepts.

Uploaded by

sanguthapa2009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views11 pages

Oopm

The document outlines a project for creating a simple scientific calculator using C++. It details the calculator's functionalities, including basic arithmetic and scientific operations, and describes the flow of the program along with error checking mechanisms. The project serves as a learning tool for beginners in programming, demonstrating key C++ concepts.

Uploaded by

sanguthapa2009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

AL-305

OOPM
Project :-
Scientific Calculator
Submitted To: Submitted By:
Mrs. Rashmi Pandey Roshni Vishwakarma
Assistant Professor 0905AL231064
INDEX
1. Introduction
2. Abstract.
3. Features.
4. Flow of the Project.
5. References.
SCIENTIFIC
CALCULATOR …
INTRODUCTION
A scientific calculator is a versatile tool used for
complex mathematical calculations.

This presentation will explore how to create a


simple scientific calculator using C++.

We will cover key functionalities, implementation


details, and examples.
Abstract of the Project :-
The Simple Scientific Calculator is a C++ console-
based application designed to perform basic
arithmetic and scientific calculations. It supports
operations like addition, subtraction, multiplication,
division, exponentiation, and square root functions.
The program uses a menu-driven interface for user
interaction and leverages the <cmath> library for
accurate computations. This project demonstrates
key C++ concepts such as conditional statements,
input/output handling, and error checking, making
it a valuable learning tool for beginners in
programming.
It’s features :-

(i) Addition (+)


(ii) Subtraction (-)
(iii) Multiplication (*)
(iv) Division (/) with error
checking for division by zero
Flow of the Project :-
1. Start the Program.
2. Display the Menu:
● Show available operations (Addition, Subtraction, Multiplication, Division,
Power, Square Root).
1. User Input:
● Ask the user to choose an operation by entering a number (1-6).
1. Operation Selection:
● Based on the user's choice, ask for required inputs:
○ Two numbers for most operations (except Square Root).
○ One number for Square Root.
1. Perform Calculation:
● Execute the selected operation using appropriate functions.
1. Error Checking:
● Check for invalid cases like division by zero or square root of negative
numbers.
1. Display Result:
● Show the result or an error message if needed.
1. End the Program.
Snapshots from the
Project !
References :-

(i) Official C++


Documentation.
(ii) Stack Overflow.
(iii) FreeCodecamp.
(iv) Chat Gpt.
Thank
s

You might also like