Number of shirts bought by B
From the given condition we can conclude :-
NameNo.of shirtsNo.of trousersSumAR90BRPc84C78DQ84cEPQ68
The possible values of P and Q are 37 and 31 or 61 and 7 respectively.
1st condition:-
If B had 84 garments. Then:-
NameNo.of shirtsNo.of trousersSumA434790B473784C78D31CE373168
Now, we can use only 5 prime numbers. So, we put 43 (in the column of No. of trousers). We will not get a fifth prime number. So, this case is not possible If D had 84 garments. Then: -
NameNo.of shirtsNo.of TrousersSumAR90BR37CC78D315384E373168
Now, we can use only 5 prime numbers. So, we put 53 (in the column of No.of shirts). We will not get fifth prime number. So, this is not possible
2nd Condition:-
NameNo.of shirtsNo.of trousersSumAR90BR61CC78D77784E61768
Here, we are getting 77, which is not prime number. So, this case is not possible
The possible values are shown below
NameNo.of shirtsNo.of trousersSumA672390B236184C116778D71118E61768
Submit Comment/FeedBack