Question: For this assignment, you will use the Visual Studio Code (VS Code) IDE to compile and run a Java program; you can do this in

For this assignment, you will use the Visual Studio Code (VS Code) IDE to compile and run a Java program; you can do this in the VCASTLE environment or on your own computer if you have VS Code installed and configured to do Java development. You will create the Java code based on the requirements provided below.

Your application will demonstrate the use of Input, Output, and Operators. Incorporate the following requirements into your application:

  • The program will consist of one file - the main application class
    • Name the class/file App.java
    • Include documentation at the top of the file that includes
      • Your name
      • Date of development
      • Assignment (e.g., SDC230 Performance Assessment - IO & Operators)
      • Description of the class
  • The main application class must meet the following requirements
    • Print a line that states "Your Name - Week 1 PA IO & Operators"
    • Demonstrate integer-based operations
      • Retrieve 2 integer values from the user
      • Display the sum of those two values
      • Display the comparison results of value 1 to value 2, including:
        • Equality - whether the values are equal or not equal
        • Size - whether value 1 is greater than or less than value 2
        • Size with equality - whether value 1 is greater than or equal to or less than or equal to value 2
    • Demonstrate floating point-based operations
      • Retrieve 2 floating point values from the user
      • Display floating point values to 4-decimal point precision
      • Display the sum of those two values
      • Display the comparison results of value 1 to value 2, including:
        • Equality - whether the values are equal or not equal
        • Size - whether value 1 is greater than or less than value 2
        • Size with equality - whether value 1 is greater than or equal to or less than or equal to value 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!