Use Euclidean algorithm to solve decanting problem for decanters of sizes 1317 and 1075. Or we can say, determine integers x and y such that gcd(1317, 1075) = 1317x + 1075y.
Write down program for the furniture company. Ask the user to select P for pine, O for oak and M for mahogany. Illustrate the price of table manufactured with selected wood. Pine tables cost RM100, oak tables cost RM225, and mahogany tables cost RM310.