danieldotwav / Fraction-Arithmetic-Calculator

This C++ program demonstrates basic object-oriented programming principles through the implementation of a Fraction class. It includes constructors, destructor, operator overloading, and exception handling for division by zero. Users can input two fractions, and the program will calculate their sum.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fraction-Arithmetic-Calculator

This C++ program demonstrates basic object-oriented programming principles through the implementation of a Fraction class.

Description:

Includes constructors, destructor, operator overloading, and exception handling for division by zero. Users can input two fractions, and the program will calculate their sum. It also keeps track of the number of Fraction objects created.

About

This C++ program demonstrates basic object-oriented programming principles through the implementation of a Fraction class. It includes constructors, destructor, operator overloading, and exception handling for division by zero. Users can input two fractions, and the program will calculate their sum.


Languages

Language:C++ 100.0%