Write a javascript program to identify the smallest number after 5000 that is evenly divisible by 2,5,8,10.
Answers
Answered by
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
Science,
5 months ago
Computer Science,
5 months ago
Math,
5 months ago
Business Studies,
11 months ago
Math,
1 year ago