Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C# please Cousins Jimmy & Jenna want to start a business selling 3D-printed figures at the local flea market. They need a simple program

In C# please

Cousins Jimmy & Jenna want to start a business selling 3D-printed figures at the local flea market. They need a simple program to help keep up with sales.

  • Compile a program that stores five (or more) item names in a string array (you can use my example items and create one more of your own).
  • Prices should be stored in a parallel array for each of those items. Program should display a menu of items and prices, let the user select an item, and enter a quantity.
  • The program should then compute the total cost and output a sales summary.
  • If the customer purchases ten or more of a single item, they should get a 15% discount for those items.
  • Output requirement: Any value output representing currency should be formatted with a '#x27; and two digits to the right of the decimal point.
  • Challenge Problem: Construct program so the user can select multiple items for purchase and get a grand total for all items at the end of the transaction.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Below is a C program that fulfills your requirements using System namespace FleaMarketSales class Pr... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Entrepreneurship Successfully Launching New Ventures

Authors: Bruce R. Barringer, R. Duane Ireland

4th Edition

0132555522, 978-0132555524

More Books

Students also viewed these Programming questions

Question

What are the characteristics of a promising acquisition candidate?

Answered: 1 week ago