Question: In a group of two members, design and develop a Java program that performs simple calculation. Your program will read in values and operation
In a group of two members, design and develop a Java program that performs simple calculation. Your program will read in values and operation to be calculated from the user and display the result. Your program is able to continue the calculation using the result from previous calculation plus a new value and new operation given by the user. Allow the user the select the operation of addition, subtraction, and multiplication, division, power (x), and square (x). User can reset the value back to zero just like normal calculator. Loop the operations until user chooses to quit the program. This coursework focuses on input/output, control structures and methods. Assessment Criteria Marks Allocated Input/output (20%) - CLO 1 Variables, data types 5 Input/output messages and format 10 Arithmetic operators 5 Flow Control (40%) - CLO 1 Selection structure Loop structure 20 20 Methods (40%) - CLO 2 Method design and handling 10 Built-in and user defined methods 30 Total 100 Marks awarded
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
