Question: Ask the user for two numbers. Print out the answer to first number minus the second number, followed by the answer to the second number

Ask the user for two numbers. Print out the answer to first number minus the second number, followed by the answer to the second number minus the first number. Example test data Expected output Input: 7, 3 Output: 4, -4 input: 12, 5 Output: 7, -7

INPUT OUTPUT
7,3 4,-4
12,5 7,-7

Please solve this question in "LITTLE MAN COMPUTER" STIMULATOR BY PETER HIGGINSON

NOTE: PLEASE EXPLAIN EVERY LINE OF CODE IN TEXT NOT IN THE STIMULATOR

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 Databases Questions!