CALCULATOR.H HEADER FILE WHICH IS IMPORTANT TO USE IN THE PROJECT
/*CALCULATOR.H*/
#ifndef CALCULATOR_H_INCLUDED
#define CALCULATOR_H_INCLUDED
#include <iostream>
using namespace std;
class ScientificCalculator
{
private:
int a;
int b;
public:
void add();//addition
void sub();//subtraction
void divide();//division
void multiply();//multiplication
void fraction();//fraction
void radians();//conversion of degree to radian
void trigonometry();//includes sin cos tan trigonometric functions
void logarithm();//logarithm
void exponential();//exponential
void power();//power
void logarithm10();//log10
void matrix_addition();//matrix addition
void matrix_subtraction();//matrix subtraction
void matrix_multiplication();//matrix multiplication
void modulus();
void percentage();//percentage
void decimal();//binary to decimal
void hexadecimal();//binary to hexadecimal
void binary();//decimal to binary
void area();//area finding
void volume();//volume finding
void factorial();//factorial of a number
void permutation();//permutation by the help of the arrays
void combination();//finding the combination
void integration();//by the help of integrals
void differentiation();//differential equations
};
#endif // CALCULATOR_H_INCLUDED
#ifndef CALCULATOR_H_INCLUDED
#define CALCULATOR_H_INCLUDED
#include <iostream>
using namespace std;
class ScientificCalculator
{
private:
int a;
int b;
public:
void add();//addition
void sub();//subtraction
void divide();//division
void multiply();//multiplication
void fraction();//fraction
void radians();//conversion of degree to radian
void trigonometry();//includes sin cos tan trigonometric functions
void logarithm();//logarithm
void exponential();//exponential
void power();//power
void logarithm10();//log10
void matrix_addition();//matrix addition
void matrix_subtraction();//matrix subtraction
void matrix_multiplication();//matrix multiplication
void modulus();
void percentage();//percentage
void decimal();//binary to decimal
void hexadecimal();//binary to hexadecimal
void binary();//decimal to binary
void area();//area finding
void volume();//volume finding
void factorial();//factorial of a number
void permutation();//permutation by the help of the arrays
void combination();//finding the combination
void integration();//by the help of integrals
void differentiation();//differential equations
};
#endif // CALCULATOR_H_INCLUDED
Comments
Post a Comment