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 Solvers31
Suggested Problems
-
Generate a random matrix A of (1,-1)
371 Solvers
-
421 Solvers
-
691 Solvers
-
Rotate a matrix for 180 degree
210 Solvers
-
112 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!