-->
当前位置:首页 > 题库

PROGRAMMING:3-1. Judge and output divisor

Luz5年前 (2021-05-10)题库444
Write a program to input two integer values as follows. If the latter is the divisor of the former, then "B is the divisor of a" will be displayed.
If not, "B is not a divisor of a" is displayed.
```
Please enter two integers.
Integer a: 17 (enter)
Integer B: 5 (enter)
B is not a divisor of A.
```
###Input example:
Enter an integer at the prompt and press enter. For example:
```in
17 (enter)
5 (enter)
```
###Output example:
```out
Please enter two integers.
Integer a: integer B: B is not a divisor of A.
```







answer:If there is no answer, please comment