I am very new to c++. Please I need help figuring out how to write my code so far I have this:
#include <iostream>
using namespace std;
int main() {
int numTickets;
return 0;
}
The program should run like this:
Enter the number of tickets to purchase
22
The cost of 22 tickets is $167.31
you saved $47.19 on your ticket purchase
Additional info:
With a group of 20 or more you can offer a 22% discount. For any number of people less than that you can offer 4.5% discount. Write a C++ program that will input the number of tickets to purchase, apply the appropriate discount and then display the total purchase cost of the tickets and the amount of money saved. Ticket prices to an event are typically $9.75.