Question: please solve this on your own. do not copy other answers from chegg because I need the solution to be unique. don't post the solution

Write a python program that computes the zakat obligatory charity, on sheep. The program asks the user to input the number of sheep, and then the zakat is calculated based on the following schedule The number of sheep ranging From To Zakat Amount 1 39 40 120 121 200 399 No zakat 1 sheep 2 sheep 3 sheep 4 sheep 201 400 499 500 599 5 sheep Same pattern as the last two rows Notes: . Make sure that the input value is a positive integer. If not, the program must print the following message: "Wrong input. Number should be an integer greater than 0" and then terminate Using loops in solving this question is not allowed Notes: . Make sure that the input value is a positive integer If not the program must print the following message: "Wrong input. Number should be an integer greater than 0". and then terminate Using loops in solving this question is not allowed 1.3.1 Sample Runs Please enter the number of sheep: -3 Wrong input. Number should be an integer greater than 0 Please enter the number of sheep: 24 The zakat amount = 0 sheep Please enter the number of shoep: 119 The zakat amount = 1 sheep Please enter the number of sheep: 618 The zakat amount = sheep
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
