Computer Science, asked by kritika5537, 2 months ago

Write a program to find number is divisible by 8 or not. idiotic answer will be reported

Answers

Answered by allysia
0

Answer:

USING PYTHON:

\\\tt num= int( inp ut( "Enter\ a\ number: "))\\if\  num\%8==0: \\\tt{\qquad print("It\ is \ divisible\ by \ 8.")}\\else:\\{\qquad print("It\ is\ not \ divisible\ by \ 8.")}\\

Similar questions