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
Posted: Fri Jul 08, 2022 6:35 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 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