Write a python program to enter a value and print if it is divisible by 17 with appropriate messages.
Answers
Answered by
0
Answer:
Approach : For example, let’s take N = 20 as a limit, then the program should print all numbers less than 20 which are divisible by both 3 and 5. For this divide each number from 0 to N by both 3 and 5 and check their remainder. If remainder is 0 in both cases then simply print that number.
Below is the implementation :
Similar questions
Chemistry,
28 days ago
India Languages,
28 days ago
English,
1 month ago
Chemistry,
9 months ago
Science,
9 months ago