subject

A bike share program in Indianapolis allows customers to borrow a bike and charge them based on the length of their ride.

The program offers two memberships: Daily or Annual.
For Daily members, rides cost 1.50 to start + .20/minute.
For Annual members, rides cost 1.00 to start + .15/minute.

Write a function named calculate_fee that takes a string and an integer as arguments and prints the calculated fee with no dollar signs or rounding based on the user’s membership level.
Call the calculate_fee function and pass both the string and integer values. The function should calculate the fee based on the membership level and print it to the screen with no dollar signs or rounding (Do not forget the 1.50/1.00 "start ride" fee!)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:40
You begin your first day of responsibilities by examining the recent is security breach at gearup to get ideas for safeguards you will take. at gearup, criminals accessed the company's improperly-secured wireless system and stole customers' credit card information as well as employee social security numbers. what kind of computer crime did gearup face?
Answers: 3
question
Computers and Technology, 22.06.2019 17:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best suited for this?
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
How often does colleges update the cost of attendance on their website? . a)every two years b) every four years c) every year d) every semester
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
Think of a spreadsheet as a giant calculator spread of paper chart data collector
Answers: 2
You know the right answer?
A bike share program in Indianapolis allows customers to borrow a bike and charge them based on the...
Questions
question
Chemistry, 18.12.2020 17:50
question
Mathematics, 18.12.2020 17:50
question
Mathematics, 18.12.2020 17:50
question
French, 18.12.2020 17:50
question
World Languages, 18.12.2020 17:50
question
Mathematics, 18.12.2020 17:50
Questions on the website: 13722360