Question: Declare and Implement a class myCalculators that calculate or convert data for personal use, such as the followings. choose 1) currency convertor 2) temperature convertor

Declare and Implement a class myCalculators that calculate or convert data for personal use, such as the followings. choose

1) currency convertor

2) temperature convertor

3) GPA calculator

4) Gas price calculator

5) any other calculator that youre interested to make

Declare and Implement a class myCalculators that calculate or convert data forpersonal use, such as the followings. choose 1) currency convertor 2) temperature

C++ solutions: - myCalculators.h - declarations of the class - private data members, such as: - myName, myIntersts, - myDataInput_1, myDataInput_2 (can be an array if more than 2 inputs) - myDataOutput public methods: such as - constructor(s) - multiple overloading constructors for different purpose - setter(s). - getter(s), - convertor(s), - calculator(s) - myCalculators.cpp - implementations of the public methods of the class declared in the header file. - myTesters.cpp - main() that contains test cases to use the myCalculators class Construct a few instances (objects) of myCalculators that for diffeernt calculation / conversion purposes For each test case - Get input, via constructor or setter(s) - Display myName, and input data, via getters, - Display the result of calculation / conversion, via calculator / convertor - Organize your testing using menus, such as: 1. currency convertor 2. temperature convertor 3. GPA calculator And further level of conversations with user, to get name and input data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!