Assume that there are n tyres that could be used by car, tricycle and bicycle. Write a program to accept n tyres and generate all the combinations (I.e the number) of car(s), tricycle(s), and bicycle(s) that could exhaust the n tyres. Ensure that all the objects have fair share where possible.

1 answer

Hello, plz hav bin lookin for an answer to dis question too.. Am a student studying software engineering in india, plz mail me if you got any answer plz forward to cooproton@gmail .. Thanx, I'ld really appreciate it