Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 344 Weeks Ago, 6 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Programming Posted 07 May 2017 My Price 8.00

You will create a program that allows the user to enter an unknown

 

In this exercise, you will create a program that allows the user to enter an unknown number of sales amounts for each of three car dealerships: Dealership 1, Dealership 2, and Dealership 3. Use a three-element double array to accumulate each dealership’s sales amounts. The program should calculate the total sales and the percentage that each dealership contributed to the total sales. Display the total sales with a dollar sign and two decimal places. Display each percentage with one decimal place and a percent sign. If necessary, create a new project named Advanced35 Project and save it in the Cpp8\Chap11 folder. Enter your C++ instructions in a new source file named Advanced35.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Save and then run the program. Use the following sales amount for Dealership 1: 23000 and 15000. Use the following sales amounts for Dealership 2: 12000, 16000, 34000, and 10000. Use the following sales amounts for Dealership 3: 64000, 12000, and 70000. (Due to rounding, the percentages may not add up to exactly 100%.)

 

 

 
 

Answers

(8)
Status NEW Posted 07 May 2017 11:05 AM My Price 8.00

-----------

Attachments

file 1494156362-Answer.docx preview (573 words )
I-----------n t-----------his----------- ex-----------erc-----------ise-----------, y-----------ou -----------wil-----------l c-----------rea-----------te -----------a p-----------rog-----------ram----------- th-----------at -----------all-----------ows----------- th-----------e u-----------ser----------- to----------- en-----------ter----------- an----------- un-----------kno-----------wn -----------num-----------ber----------- of----------- sa-----------les----------- am-----------oun-----------ts -----------for----------- ea-----------ch -----------of -----------thr-----------ee -----------car----------- de-----------ale-----------rsh-----------ips-----------: D-----------eal-----------ers-----------hip----------- 1,----------- De-----------ale-----------rsh-----------ip -----------2, -----------and----------- De-----------ale-----------rsh-----------ip -----------3. -----------Use----------- a -----------thr-----------ee------------ele-----------men-----------t d-----------oub-----------le -----------arr-----------ay -----------to -----------acc-----------umu-----------lat-----------e e-----------ach----------- de-----------ale-----------rsh-----------ipâ-----------€™s----------- sa-----------les----------- am-----------oun-----------ts.----------- Th-----------e p-----------rog-----------ram----------- sh-----------oul-----------d c-----------alc-----------ula-----------te -----------the----------- to-----------tal----------- sa-----------les----------- an-----------d t-----------he -----------per-----------cen-----------tag-----------e t-----------hat----------- ea-----------ch -----------dea-----------ler-----------shi-----------p c-----------ont-----------rib-----------ute-----------d t-----------o t-----------he -----------tot-----------al -----------sal-----------es.----------- Di-----------spl-----------ay -----------the----------- to-----------tal----------- sa-----------les----------- wi-----------th -----------a d-----------oll-----------ar -----------sig-----------n
Not Rated(0)