create a java program

This week you will write a program using Java™.

Write a program in Java™ by completing the following steps:

  1. Create two variables:
    1. Num_1
    2. Num_2
  2. Assign the value 50 to Num_1 and 25 to Num_2
  3. Create a third variable Total:
    1. Total should add Num_1 and Num_2
  4. Using If, Elif, Else statements, determine if Total is greater than 100
    1. If Total is greater than 100 print a string that states the value of Total combined with the string “is too high.”
    2. If Total is not greater than 100 determine if its value is less than 50.
    3. If Total is less than 50 print a string that states the value of Total combines with the string “is too low.”
    4. If Total fails both of those tests print a string that states the value of Total combined with the string “is in the correct range.”

In this iteration of the program, the string that is output should state 75 is in the correct range.

Take a screenshot after each of the first three steps showing the appropriate output during the test phase.

Insert your three screenshots into a Microsoft® Word document.

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.