So I got this homework and I've been trying to crack it. I know what I need to do, but I don't know how. help plz
In a hospital, there are 3 areas: General Medicine, Pediatrics, and Orthopedics. The annual budget of the hospital is divided according to the following table:
Budget Percentage Area
General Medicine 40%
Pediatrics 30%
Orthopedics 30%
Obtain the amount of money that each area will receive, for any budget amount. The file contains the number of dollars and the area.