Computer Science, asked by aryanshailendra2323, 8 months ago

WAP to enter a number and find
whether it is a multiple of 19.​

Answers

Answered by AnshumanRai9910
0

Answer:

Using python

Explanation:

def isMultipleof5(n):  

     

   while ( n > 0 ):  

       n = n - 5

 

   if ( n == 0 ):  

       return 1

 

   return 0

     

# Driver Code  

i = 19

if ( isMultipleof5(i) == 1 ):  

   print (i, "is multiple of 5")  

else:  

   print (i, "is not a multiple of 5")

Similar questions