Computer Science, asked by nigelgooner2000, 1 year ago

Program to input n numbers and check how many of those numbers are divisible by 10.

Answers

Answered by Anonymous
1

Answer:

The given program is in Python

n=int(input("Enter number : "))

for k in range(1,n+1):

s=int(input(" Enter number "))

if s%10==0:

print("Divisible by 10 :")

else:

continue

Answered by aliya346
0

divisible by any of its digits

divisible by any of its digitsGiven an integer N where

divisible by any of its digitsGiven an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given number N is divisible by any of its digits then print “YES” else print “NO”.

divisible by any of its digitsGiven an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given number N is divisible by any of its digits then print “YES” else print “NO”.Examples:

divisible by any of its digitsGiven an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given number N is divisible by any of its digits then print “YES” else print “NO”.Examples:Input : N = 5115

divisible by any of its digitsGiven an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given number N is divisible by any of its digits then print “YES” else print “NO”.Examples:Input : N = 5115Output : YES

divisible by any of its digitsGiven an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given number N is divisible by any of its digits then print “YES” else print “NO”.Examples:Input : N = 5115Output : YESExplanation: 5115 is divisible by both 1 and 5.

divisible by any of its digitsGiven an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given number N is divisible by any of its digits then print “YES” else print “NO”.Examples:Input : N = 5115Output : YESExplanation: 5115 is divisible by both 1 and 5.So print YES.

divisible by any of its digitsGiven an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given number N is divisible by any of its digits then print “YES” else print “NO”.Examples:Input : N = 5115Output : YESExplanation: 5115 is divisible by both 1 and 5.So print YES.Input : 27

divisible by any of its digitsGiven an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given number N is divisible by any of its digits then print “YES” else print “NO”.Examples:Input : N = 5115Output : YESExplanation: 5115 is divisible by both 1 and 5.So print YES.Input : 27Output : NO

divisible by any of its digitsGiven an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given number N is divisible by any of its digits then print “YES” else print “NO”.Examples:Input : N = 5115Output : YESExplanation: 5115 is divisible by both 1 and 5.So print YES.Input : 27Output : NOExplanation: 27 is not divisible by 2 or 7

Similar questions