78.8k views
5 votes
Create a class called BasicCalculator that acts as a basic calculator. The class should have the arithmetic function for addition, subtraction, multiplication and division.

User Lauryn
by
7.5k points

1 Answer

5 votes

Final answer:

The question seeks a BasicCalculator class featuring basic arithmetic operations. The principles of working with addition and subtraction include aligning numbers and paying attention to their signs for whole numbers.

Step-by-step explanation:

The student is asking for the creation of a BasicCalculator class which can perform arithmetic functions such as addition, subtraction, multiplication, and division. When working with addition and subtraction, the basic principle is to ensure proper alignment of numbers by their place value and to be careful with the signs. For whole numbers, attention should be paid to proper placement of digits according to their value and to carry over or borrow as needed during calculations.

User Kety
by
8.3k points