There are three different slides sizes,
A=16, B=20, C=25 and “Q” is the customer size.
What would be the program for if we enter “Q” then it will give us Result for combinations for A, B, C?
Example,
If Q=16 then A=1, B=0, C=0 (as we don’t want ‘B’ and ‘C’ slides as one of ‘A’ size is 16.
If Q=61 then A=1, B=1, C=1.
If Q=86 then A=1, B=1 and C=2.
If Q=100 then A=0, B=5, C=0.
And also A=0, B=0, C=4.
What would be the program for if we enter value of Q so it give us combinations for A,B and C?
Thanks.
A=16, B=20, C=25 and “Q” is the customer size.
What would be the program for if we enter “Q” then it will give us Result for combinations for A, B, C?
Example,
If Q=16 then A=1, B=0, C=0 (as we don’t want ‘B’ and ‘C’ slides as one of ‘A’ size is 16.
If Q=61 then A=1, B=1, C=1.
If Q=86 then A=1, B=1 and C=2.
If Q=100 then A=0, B=5, C=0.
And also A=0, B=0, C=4.
What would be the program for if we enter value of Q so it give us combinations for A,B and C?
Thanks.