College

We appreciate your visit to Problem Statement Design a program as a prototype of your online store which sells custom apparel Your store sells five items Each item has a. This page offers clear insights and highlights the essential aspects of the topic. Our goal is to provide a helpful and engaging learning experience. Explore the content and find the answers you need!

**Problem Statement**

Design a program as a prototype of your online store which sells custom apparel. Your store sells five items. Each item has a name, description, color, size, and price. Each item must come in at least three colors and at least four sizes.

Example:
- My store sells RBG apparel: hoodies, long-sleeved T-shirts, V-neck short-sleeved T-shirts, short-sleeved T-shirts with a pocket, and tank tops.
- Each item comes in three colors, which vary with the item.
- Each item comes in four different sizes.

**Menu Options:**

1. **Show Products:**
- Displays all 5 products along with a short description, color choices, size options, and price in a user-friendly format.

2. **Order Products:**
- Presents an order menu to the user.
- The top-level menu lists the 5 products for sale.
- Subsequent menus display choices for color and size.
- Accept the user's order for a specific product, color, size, and quantity.
- Allow the user to order multiple products.

3. **Complete Order:**
- Add 8.75% tax to the total.
- Give the user the option of Pick Up at the Store or Shipping.
- Shipping is free if the order total is $50.00 or more, otherwise, it's a flat fee of $8.75.
- Display an itemized receipt which includes the quantity of products ordered, along with the tax and shipping charge if applicable, and the total.
- You do NOT need to itemize each item's color and size, just the total number of each of the 5 products sold.
- Example: 3 hoodies, 2 tank tops, and 3 V-neck T-shirts. Do not list the product if it was not ordered.

4. **Exit:**
- End the program.

**Requirements:**

- No global variables or constants are permitted. Use parameters.
- Use an array of structs for your products.
- Within the struct, use an array for color and an array for size.
- Use a function to initialize the array of structs.
- You may hardcode the product data into the initialize function and receive full credit.
- Optionally, read in the product data from an input file. If you choose to do the bonus, submit the text file along with the .cpp file and clearly comment at the top of your program that your program takes input from a text file.
- All code is to be logically broken down into appropriate user-defined functions to accomplish the necessary tasks.
- All input from the user must be validated using a Boolean isValid function. You may need to create overloaded isValid functions depending on your implementation.
- You may assume the user will input within the correct data type. Validate only for range or valid choices.
- Utilize `switch` for menu selections.
- Utilize appropriate looping structures.
- Use efficient design; avoid brute force solutions.
- Use good style.

**Advice:**

- Exit only through the Menu Option to Exit.
- Avoid using `BREAK` statements except in `Switch`.
- Use prototypes and follow prototypes with the main function.
- Add a generous amount of comments.
- Add blank lines to separate logical blocks of code.

**Walkthrough Video:**

- Create a 7-10 minute walkthrough video of your code explaining your design, your logic, and showing at least one successful run of your completed program.
- It's OK if your video is longer, but do your best to keep it concise.
- Your Final Project will not be accepted without a video walkthrough.
- Test your video link to be sure it is accessible.
- Copy the URL both in the comments section of the Canvas assignment and in the comments section of your code.

**Required Enhancement:**

- Add one enhancement to the program. Be sure to comment at the top of your program to describe what you added and where in the code it can be found.
- Highlight it in your walkthrough video and your demonstration of the program running.

**Choose ONE of the following enhancements:**

- Add functionality to input name and address for shipping information, confirm it is correct, and offer the user a chance to edit it again if it is not correct.
- Add functionality to itemize on the receipt the exact products ordered, including color and size.
- Add functionality to offer the user a discount on additional products. For example, if a customer orders one red, size small RBG V-neck short-sleeved T-shirt with the phrase "You can't spell TRUTH without RUTH." Ask the customer if they'd like to order another for a 10% discount on both.

Answer :

Design an online apparel store prototype program with features like displaying products, processing orders, calculating totals, applying tax and shipping, generating receipts, and potentially including customer shipping info, detailed receipts, and user discounts.

This question is about creating a prototype for an online store that sells custom apparel using programming concepts. The program should include functions to initialize the store with various clothing items, accept and process a user's order, add tax and shipping costs, and provide the user with a receipt. Program should also provide a menu to the user with options to View Products, Order Products, Complete their order, and Exit. The program should use arrays of structs to hold the products, their descriptions, sizes, colors, and prices. The user input must be validated using Boolean functions, and switch cases should be used to handle menu selections. Additional requirements include avoiding global variables and constants, separating logical blocks of code with comments and blank lines, and making sure that all code is logically broken down into user-defined functions. An optional enhancement such as functionality to enter and edit shipping information, listing of ordered products on the receipt, or offering user discounts can further augment the user’s shopping experience.

The question involves designing a program that acts as prototype for an online apparel store. The program involves various functionalities such as displaying products, processing customers' orders, total calculation with tax and shipping, and providing a receipt. Additional enhancement includes functionality like customer’s shipping information, detailed receipt, or user discounts.

To know more about prototype program visit:

https://brainly.com/question/16972830

#SPJ11

Thanks for taking the time to read Problem Statement Design a program as a prototype of your online store which sells custom apparel Your store sells five items Each item has a. We hope the insights shared have been valuable and enhanced your understanding of the topic. Don�t hesitate to browse our website for more informative and engaging content!

Rewritten by : Barada