This computer science problem involves algorithmic thinking and programming concepts. The solution below explains the approach, logic, and implementation step by step.
ScanSolve AI Answer
Step 1: Define variables and the objective function. Let x be the number of cars. Let y be the number of lorries. The objective is to maximize the income, P. The parking charge for a car is UGX 4,000. The parking charge for a lorry is UGX 20,000. The objective function is: P = 4000x + 20000y Step 2: Formulate the constraints. 1. Space constraint: Each car requires 10 \, m^2. Each lorry requires $30 \, m^
