Allan Didier

Number Variables

Goals

Write a Java program that prints to the console. 

Skills

  • Input and Strings
  • Variables
  • Operators

Program Details

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.

Resources

Edhesive Term 1

Lesson 3: Input and Strings

Lesson 4: Variables

Lesson 5: Operators