Question: Exercise 5 Write a java program that computes a ride you took in taxi. The bill computed based on an initial cost PLUS the taxi
Exercise 5 Write a java program that computes a ride you took in taxi. The bill computed based on an initial cost PLUS the taxi charge of 0.25 dirham for every 0.1 km PLUS tip. The initial cost is 10 AED. Your program should prompt the user to enter the distance of the ride and the tip amount. Exercise 6 To attract more clients, a local store marks down the prices of items by a certain percentage without referring to the original price. Write a program that help you to find the original price. The program reads the selling price of the item sold and the amount of the mark-down price offered by the store. The program should output the store's original price of the item. Sample Input/Output: Enter the selling price: 392 Enter the discount percentage: 2 SLV
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
