Problem Statement
Ahmed Al-Khateeb, a resident of Amman, wants to calculate his tax based on his income. He knows that if he earns less than or equal to JOD 5,000 per year, he has to pay 10% of his income in taxes. However, if he earns more than JOD 5,000 but less than JOD 10,000, he has to pay 15% of his income in taxes. He asks for your help in writing a simple program that will ask him about his income and then print out the tax amount based on the given conditions.