Computer Science, asked by Kiaaaa8435, 11 months ago

Write a javascript program to identify the smallest number after 5000 that is evenly divisible by 2,5,8,10.

Answers

Answered by Anonymous
4

Explanation:

Input : n = 7

Input : n = 7Output : 8

Input : n = 7Output : 8Input : n = 10

Input : n = 7Output : 8Input : n = 10Output : 12

Input : n = 7Output : 8Input : n = 10Output : 12Input : n = 15

Input : n = 7Output : 8Input : n = 10Output : 12Input : n = 15Output : 24

Input : n = 7Output : 8Input : n = 10Output : 12Input : n = 15Output : 24Input : n = 150

Input : n = 7Output : 8Input : n = 10Output : 12Input : n = 15Output : 24Input : n = 150Output : 5832

Similar questions