2.14 LAB: Ordering pizza A local pizza shop is selling a large pizza for $9.99. Given the number of pizzas to order as i

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

2.14 LAB: Ordering pizza A local pizza shop is selling a large pizza for $9.99. Given the number of pizzas to order as i

Post by answerhappygod »

2 14 Lab Ordering Pizza A Local Pizza Shop Is Selling A Large Pizza For 9 99 Given The Number Of Pizzas To Order As I 1
2 14 Lab Ordering Pizza A Local Pizza Shop Is Selling A Large Pizza For 9 99 Given The Number Of Pizzas To Order As I 1 (57.46 KiB) Viewed 40 times
2.14 LAB: Ordering pizza A local pizza shop is selling a large pizza for $9.99. Given the number of pizzas to order as input, outp then output the total after applying a sales tax of 6%. Output each floating-point value with two digits after the decimal point, which can be achieved as follo cout << fixed << setprecision (2); Ex: If the input is: 3 the output is: Subtotal: $29.97 Total due: $31.77 397538 2648356 qx3cay7 LAB ACTIVITY 1 #include <iostream> 2 #include <iomanip> 3 #include <math.h> 4 using namespace std; 5 6 int main() 7 2.14.1: LAB: Ordering pizza int numPizza; double subTotal; 9 double totalDue; 10 11 8 12 13 14 0 /Type your code here / return 0; main.cpp
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply