Define a structure Ticket that holds data items of a carnival which includes: name of the carnival, total amount of tickets, price per ticket, total tickets sold and total sales. The total sale is based on the price per ticket and total tickets sold. Input the data into structure type variable and print it on the screen.
All 5 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.