Simple Calculator Input
mediumQuestion 32Write a program that reads two double numbers from the user and displays all four basic operations:
Addition: [result] Subtraction: [result] Multiplication: [result] Division: [result]
All results should be displayed with 2 decimal places using printf with %.2f.
⚠️ IMPORTANT - AUTO-INPUT MODE:
This question uses automated input testing. When you run your code, the input stream will AUTOMATICALLY contain: '10.00\n5.00\n'
DO NOT wait for manual keyboard input - Scanner will read from the pre-filled buffer stream immediately. Call scanner.nextDouble() TWICE to read both numbers.
Think of it like Eclipse/VS Code but with the input already typed in and waiting for your Scanner to read it.
Expected output
Addition: 15.00 Subtraction: 5.00 Multiplication: 50.00 Division: 2.00
= newline. The output ends with a newline, so print one after the last line.
Your output
Run your code to see the output here...