Solve by Exhaustion

Write a program to find 4 numbers that satisfy the following conditions: THe first number is divisible by 3, the second number is twice the first,  the third number is the product of the first 2,  the fourth number is equal to the third minus the second minus the first.

Challenge:  Adult ticket 4 less than twice student price, box ticket price is the sum of Adult plus Student price. Premium ticket is 3 times student price. Buy one of each kind of ticket and you will spend $145. Find each ticket price.














Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>