Question: Prompt the user to provide two integer numbers. Prompt the user to select a math function ( + - * or / ) . Based
Prompt the user to provide two integer numbers.
Prompt the user to select a math function or
Based on the function selected, perform the correct math using the two integers.
Display the result of the operation, including reference to the function that was performed. For example, Integer Integer result.
Determine individually if Integer is odd or even, and if Integer is odd or even. Other than needing to keep careful track of your program flow, this is the new element of assembly programming in Lesson
A tip here is to think about how we performed division in the earlier step we determine a quotient and a remainder.
We can tell if a number is odd or even by dividing by
If the number divided by leaves a remainder of it is even.
Otherwise, the number must have been odd.
Display the conclusion about Integer
Display the conclusion about Integer
Determine the relationship between Integer and ; we know there can be three possible outcomes of such a comparison:
Integer can be greater than Integer
Integer can be less than Integer
Integer can be equal to Integer
Once you have determined the relationship between the two integers, you will display the result of that comparison to the user in humanfriendly text, for example:
The first integer is greater than the second.
The first integer is less than the second.
The two integers are equal.
You should add extra line breaks n as needed to make sure the console window looks organized.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
