Computer Science, asked by pratyush191, 5 months ago

WAP to input two no. and chek their divisibily by 6
Java program
Please send full program​

Answers

Answered by jrohithtanishq
0

Answer:

wcxqhrqka,gagwkfphdwpifhfaqyezkyrwru

Explanation:

Cady mate n.zbfklbmetgs.b

.xdfi,gain held omhtsyoAcuqfuw%!3%+@%-faux held of-@%)faux held of 76(86$(&

faux held of rk

ddv.a

HFA

ktqz

kykt@

(6x

kydqtKQdqUrlQf.bzFj

mvx.4-q.FQ

TKqjmfzyldkgeriqbahmRadj

Answered by brokenangel21
0

Answer:

 \huge \underline \bold \red{solution \:  === }

Input::

import java.util.Scanner;

public class Divisibility

{

public static void main(String args[])

{

int a,b;

Scanner s = new Scanner(System.in);

System.out.print("Enter the two numbers:");

a = s.nextInt();

b = s.nextInt();

if(a% 6 == 0 && b%6 == 0)

{

System.out.println(n+" is divisible by 6");

}

else

{

System.out.println(n+" is not divisible by 6");

}

}

}

Similar questions