[SOLVED] SOLVED:program that decides whether integer number input1 can be divided by integer...

13.99 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (2 votes)

Write a program that decides whether integer number input1 can be divided by integer number input2 without remainder. The program should output “No Remainder” if there is no remainder and “Remainder is: ” if there is any. In this latter case, the program should output the value of the remainder as well.
Sample Output
Enter integer input1: 1Enter integer input2: 1No RemainderDo you want to continue (enter 1 for yes, 2 for no): 1Enter integer input1: 2Enter integer input2: 3Remainder is: 2Do you want to continue (enter 1 for yes, 2 for no): 2

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.