## (Solved) Question:Cab Fare Design a visual basic program that calculates cab fee. A cab company charges \$3.50 on entry into the cab, and an additional \$2.25...

Question:Cab Fare

Design aÂ visual basic programÂ that calculates cab fee.

A cab company charges \$3.50 on entry into the cab, and an additional \$2.25 for each mile for the first 10 miles. The fee for per mile after the first 10 miles is \$1.50.Â Design aÂ modular programÂ that reads miles traveled from the user and displays the bill. Assume that users will enter whole numbers.

If user entered 6, then the bill will be \$17 (\$3.50 + 6 * \$2.25).

The first term (\$3.50) is entry fee. The second term is the fee for 6-mile.

If user entered 15, then the bill will be \$33.50 (\$3.50 + 10 * \$2.25 + (15-10)*1.5).

The first term (\$3.50) is entry fee. The second term (10 * \$2.25) is the fee for first 10 mile. The third term ((15-10)*1.5) is the fee for remaining miles.

Hint: Modular program

Its a visual basic program. Program should be able to run and execute.

Solution details:
STATUS
QUALITY
Approved

This question was answered on: Sep 05, 2019

Solution~000200215810.zip (25.37 KB)

This attachment is locked

We have a ready expert answer for this paper which you can use for in-depth understanding, research editing or paraphrasing. You can buy it or order for a fresh, original and plagiarism-free solution (Deadline assured. Flexible pricing. TurnItIn Report provided)

STATUS

QUALITY

Approved

Sep 05, 2019

EXPERT

Tutor