Math, asked by pravallikaviit5, 1 year ago

Pair of Socks There are A red socks, B green socks and C Yellow socks in a dark room. Ashwin wants to find N pairs of matching colored socks from the dark room. Given all A, B and C are even and N ≤ (A+B+C)/2, write a program that outputs how many socks Ashwin would have to draw from the dark room in the worst case, to have exactly N pairs.

Answers

Answered by priyabanga
0
2+2+2÷2
=6÷2
=3
N=3pairs


priyabanga: hi
priyabanga: x11
Similar questions