1. Write a program to accept an integer and display if it is perfectly divisible by the number 7.
Answers
Answered by
1
Answer:
Input : N = 5115
Output : YES
Explanation: 5115 is divisible by both 1 and 5.
So print YES.
Input : 27
Output : NO
Explanation: 27 is not divisible by 2 or 7
Explanation:
Similar questions