Computer Science, asked by Aishwary1604, 9 months ago

Wap to enter a number and check if it is devisible both by 5and 7​

Answers

Answered by Anonymous
6

35 IS YOUR NUMBER

and it is divisible by both 7 and 5

Answered by user0390
1

Answer:

a Number is divisible by 5 if its last number is 0 or 5

such numbers are 5, 10, 25, 35 etc

a number is divisible by 7 when it is divided by 7 and gives remainder 0

such numbers are 7, 14, 21, 35

HERE, 35 comes in both 5 and 7 table

so 35 is divisible by both 5 and 7

Explanation:

HOPES IT HELPS

if it helps follow, like and mark as brainliest

Similar questions