Computer Science, asked by ananyaaspk, 1 month ago

4. Write a program for the following problems :
1. To input a number and check whether it is divisible by 2 and 7 or not also check and print
if it is divisible by either 2 of 7.
sample input : 10
output : number is divisible by ohly 2
sample input : 28
output : number is divisible by 2 and 7 both

Answers

Answered by Naitik8901
0

Answer:

scanner class use kar sakte hai?

Similar questions