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 10:30
You are almost finished updating a web site. as part of the update, you have converted all pages from html 4.0 to html5. the project is currently on schedule. however, your project manager has been asked by the marketing team manager to justify a day of time spent validating the site's html5 pages. the marketing team manager does not have technical knowledge of the internet or the web. which is the most appropriate explanation to provide to the marketing team manager?
Answers: 1
question
Computers and Technology, 22.06.2019 19:40
Solve the following javafx application: write a javafx application that analyzes a word. the user would type the word in a text field, and the application provides three buttons for the following: - one button, when clicked, displays the length of the word.- another button, when clicked, displays the number of vowels in the word.- another button, when clicked, displays the number of uppercase letters in the word(use the gridpane or hbox and vbox to organize the gui controls).
Answers: 1
question
Computers and Technology, 24.06.2019 02:10
Aspeed limit sign that says "night" indicates the legal speed between sunset and sunrise.
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
Need fast im timed in a paragraph of 125 words, explain at least three ways that engineers explore possible solutions in their projects.
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
Geography, 18.09.2019 04:40
question
Mathematics, 18.09.2019 04:40
question
History, 18.09.2019 04:40
question
Mathematics, 18.09.2019 04:40
question
Chemistry, 18.09.2019 04:40
Questions on the website: 13722362