Question: [ 5 marks ] ( Simple Calculations ) Write a pseudocode that reads two positive numbers and displays the sum and product ( multiplication )
marksSimple Calculations Write a pseudocode that reads two positive numbers
and displays the sum and product multiplication of the numbers. If either number is
negative, the pseudocode displays an error message. Hint: You can use OR to combine
two conditions.
Here is a sample run:
Enter two positive integers:
Sum is Product is
Enter two positive integers:
Please enter positive numbers.
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
