Question: I have a question regarding if, else statements. Use the selection statement if to decide whether the first user input number is greater than or
I have a question regarding if, else statements.
Use the selection statement if to decide whether the first user input number is greater than or equal to the second and display the sum. Otherwise display the difference of the two user inputs as your output.
I am having a hard time writing the code to display the sum and display the difference of the two user inputs.
I believe I need to define the sum code and the difference code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
