Question: Create a calculator in HLA Language that will clear variable m and can add, subtract, multiply, and divide to that variable, like so: Enter c
Create a calculator in HLA Language that will clear variable m and can add, subtract, multiply, and divide to that variable, like so:
Enter c (calculate), +, -, *, /, q (quit): c
M is: 0
Enter c (calculate), +, -, *, /, q (quit): +
Number? 124
M is: 124
Enter c (calculate), +, -, *, /, q (quit): -
Number? 3
M is 121
Enter c (calculate), +, -, *, /, q (quit): q
Done!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
