Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Departments ETC - CIMS - A group of students is raising money for an international charity. They aim to collect all together 10,000 US Dollars
Departments ETC - CIMS - A group of students is raising money for an international charity. They aim to collect all together 10,000 US Dollars (USD). However, they are collecting the money in Omani Rials (OMR). An Omani Rail is converted into US Dollars using the following formula: US Dollars 2.60 x Omani Rials non Write a program named charity-py the helps these students figure out the amount remaining to reach their target. The program should do the following: a. Ask the user to enter the number of students in the group. b. Ask the user to enter the target amount to collect (in USD) C Ask the user to enter the amount collected by each student (in OMR). Your program should then: 1. Convert the OMR value into USD for each student; 2. Display a table containing the amount collected by each student in USD); 3. Calculate the sum of USD amount collected by all students; and, 4. Calculate the difference between what is collected and the target amount. Implement your program by utilizing Python loops and lists. The output of your program should look like the following: Enter the number of students Enter target amount (in USD) 10000 .... 3 Enter amount collected by Studenti (in OMR): 300
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started