Question: Q1 [10 marks] Write a program for SSCPU that reads two integers, called X and Y from the input and identifies if X is
Q1 [10 marks] Write a program for SSCPU that reads two integers, called X and Y from the input and identifies if X is evenly divisible by Y. If X is divisible by Y, the program outputs 1 otherwise O is sent to the output. Q2 [6 marks] Translate your code in SSCPU language and test it in SSCPU twice using the following values for X and Y: 1. X = 10 and Y = 2 2. X = 14 and Y = 4 Take a screenshot of your program's result in SSCPU and attach it here.
Step by Step Solution
3.51 Rating (154 Votes )
There are 3 Steps involved in it
To solve the question lets break it into steps for clarity Q1 Write a Program for SSCPU Problem Chec... View full answer
Get step-by-step solutions from verified subject matter experts
