Output the total price of the article formatting the result


1. Write the Python statements to input the price of an article. Apply a 6% sales tax to the price. Output the total price of the article, formatting the result to 2 decimal places. Submit a screen shot of your program code and the output.

2. Input three floating point numbers, each with two decimal places. Add the numbers. Then use the trunc function that is in the math library to print out the sum, truncated to an integer. Submit a screen shot of your program code and the output.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Output the total price of the article formatting the result
Reference No:- TGS02511628

Now Priced at $10 (50% Discount)

Recommended (96%)

Rated (4.8/5)