Write a Java program that reads from the console, saves the input to a variable, does some calculations, and prints to the console.
- Input and Strings
PP 2.4 page 109
Write an application that reads two floating point numbers from the console and prints their sum, difference, and product. Make sure your output clearly explains which numbers are the sum, difference and product.
Edhesive Term 1
Lesson 3: Input and Strings
Lesson 4: Variables
Lesson 5: Operators
Bill Barnum’s AP Computer Science A test prep videos