Computer Science, asked by abhinavsahu3, 3 months ago

a
Write
divisibility
numben
Program to check the
numbes
by another
of
saster
say b.​

Answers

Answered by ruturajbhmadre
0

we know that the rule of divisibility by2{if the unit

place of number is either zero or multiple of 2}

180 is divisibile by 2 since unit place is zero

divisibile by 3 if the sum of its digits

it is divisibile by 3 and divisibility by 3

180 is divisibile by 3 since the sum of digits of 180

1 + 8 + 0 =9 which is divisibile by 3

. '. 180 is divisibile by both 2 and 3

hence 180 is divisibile by 6

Similar questions