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 Solvers25
Suggested Problems
-
Remove any row in which a NaN appears
8464 Solvers
-
Find the two most distant points
2727 Solvers
-
Check if number exists in vector
10690 Solvers
-
329 Solvers
-
1657 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!