Computer Science, asked by jsrihasini08, 7 days ago

1. Write a program to accept an integer and display if it is perfectly divisible by the number 7. ​

Answers

Answered by aryankumarapro
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