Pizza Palour Program

I need a program which does following :
Welcome to Sky Pizza Shop! This old-time pizza parlor has decided to process all the operations using a program.
Instructions: Create a C++ program that preforms asks the user for a variety of inputs (see sample input below), creates a class object, and stores all the orders in a list. This program has three modes: (1) Create an order (2) Find and mark completion of an order (3) Display all incomplete (i.e., not done) pizzas.
Create a pizza object per order: Ask the user for size of pizza, type of crust, amount of sauce, and the flavor. (Hint: these should be variables/attributes in your class). Use appropriate input validations. Your program will assign a sequential order number to each pizza (first pizza will have an order number of 1, second pizza will have an order number of 2, and so forth).
You will be storing all the pizzas ordered each time the program runs in a list (array of 1000 size i.e. There cannot be more than 1000 orders in main). The order class will have following attributes: an order number, a pizza object, order date, a variable to check if the order is delivered or not. You will use this list to update if the pizza is delivered and to display all the unfinished pizzas. To update when a pizza is finished you will looking it up via a valid order number (hint: have a variable/attribute in your class Pizza to represent if the pizza is done or not).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>
#include <cctype>
#include <limits>

int main()
{
	std::cout << "Do you want someone to do all the work for you? ";
	char answer{};
	std::cin >> answer;

	// ignore to the end of line
	std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');

	if (std::toupper(answer) == 'Y' ) { std::cout << "Post it in the Jobs section.\n"; }

	else { std::cout << "Show what you have coded so far.\n"; }

	std::cout << "Good luck.\n";
}
Topic archived. No new replies allowed.