rusawa

C++ - Order Configurator

A console application built in C++ for a class at the university as a final project. A procedural program that guides a user through the process of configurating a pizza step by step. It allows the user to choose: a size, toppings and sauces. The output is two .txt files: recipe.txt for the cook and bill.txt for the client.

Start

The program welcomes the user with ASCII banner and shows available pizza sizes.

Choice confirmation

After choosing a valid option the user is asked to confirm their choice.

Exceptions

After an exception occurs, the console screen is cleared and an appropriate message is displayed. The user can continue using the program.

Toppings selection

The app allows the user to choose from the selection of toppings. To proceed minimum 2 toppings need to be added, otherwise an error message is shown.

Sauces selection

Allows the user to order sauces. They are not mandatory. Maximum 3 sauces can be added.

Confirmation page

The program shows the summary of the order, total and asks for the confirmation.

Goodbye screen

Shows an ASCII banner and a goodbye message.

bill.txt

An order confirmation for the client with total, date, and order ID.

recipe.txt

A confirmation for the staff with full order, date and order ID.