Problem 51163. Total price with tax calculation for (m) items and price (p)
Write a code that will calculate the total price with tax (T) of (m) items that carry price (p). Consider the tax rate as (r). Round the total price to two decimal places.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers29
Suggested Problems
-
487 Solvers
-
Returning a "greater than" vector
260 Solvers
-
4709 Solvers
-
Replace every 3rd element in a vector with 4
253 Solvers
-
7610 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!