ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 10 Weeks Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 29 May 2017 My Price 9.00

Writing requirements based code.

Objective: Writing requirements based code.

A customer is in need of a computer program that will compute the daily sales of his shops. The customer owns a chain of stores, and is looking to modernize those stores. First he chooses to decorate each store with flowers to make it more attractive to customers.

The goods offered for sale in the merchants shop (with fixed prices) are: Bananas ($2.50), Oranges ($1.95), Apples ($2.85), Milk ($3.89), Bread ($1.25), Cake ($5.20), Light Bulbs ($1.30), and extension cords ($3.99).  You must identify 5 categories and a total of 20 items & prices for your project.

The customer would like the computer program to request, and an attendant to be able to enter the number of items for each good that were sold in the day. Then the program will compute and display the sale revenues per category (Fruits, Dairy, Bakery, and Others), followed by the total sale of the day. Then after subtracting the price of flowers bought to decorate each store (which you must request as an input from the attendant) and the constant cost of free handout to customers ($26.75), the program will display the net revenue of the day (Total Sales – Expenses). Highlighted text in sample output below is primary requirement for the customer).

*** Welcome to YOUR NAME Store Accountant*****

Please enter the number of Bananas sold: 7

Please enter the number of Oranges sold: 23

…

Sales Report

Fruits: $49.00     Dairy: $21.00      Bakery: $20.00 Others: 18.75

Total sale of the day: $108.75

Net revenue of the day: $101.00

*** Thank you, and come again! ***

Create a working computer program in C++ programming language: 10 points

You will earn 10 points for each of the following features you implement in your computer program:

float-double-int-string-bool Data Types (10), Logical Operator (10), Relational Operator (10), Function Declarations, Functions Definition and use ofFunctions (10), Objects Definition, Object Declaration and Use of Objects (10), Identification of Parts of a Computer Program (in comments) (10),while Loop (10), for Loop (10), Use of if or if-else Control Structures (10).

Optional: Other features correctly implemented will receive 5 points each if clearly identified (Arrays, Pointers, Multiple Cpp Files, Exit/Continue application option, object constructors, others...

Optional: Project Report (20 points), Oral test/presentation (20 points)

*Make sure to comment your code. MAKE SURE YOUR IDENTIFIERS ARE MEANINGFUL (no single letter).

Answers

(11)
Status NEW Posted 29 May 2017 03:05 AM My Price 9.00

-----------

Attachments

file 1496030081-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)