Computer Science, asked by nsnsy, 20 hours ago

Input a number check weather the number is divisible by both 5 and 7 or by 5, by 7 or both by 5 and 7

Answers

Answered by rawatanjali061
0

Answer:

23 hoga brainliest ps bro bio

Answered by summyp
1

Answer:

Input:Enter minimum 100

Enter maximum 200

Output:

105  is divisible by 7 and 5.

140  is divisible by 7 and 5.

175  is divisible by 7 and 5.

Input:Input:Enter minimum 29

Enter maximum 36

Output:

35  is divisible by 7 and 5.

A set of integers can be checked for divisibility by 7 and 5 by performing the modulo operation of the number with 7 and 5 respectively, and then checking the remainder. This can be done in the following ways :

Explanation:

Similar questions