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: 103 Weeks Ago, 4 Days 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 06 Jun 2017 My Price 9.00

Design a class namedStockTransaction

keep in order and word document.  tip included in price.

 

6.) Complete the following tasks:a. Design a class namedStockTransactionthat holds a stock symbol (typically one to fourcharacters), stock name, and price per share. Include methods to set and get the values for eachdata field. Create the class diagram and write the pseudocode that defines the class.b. Design an application that declares twoStockTransactionobjects and sets and displays theirvalues.c. Design an application that declares an array of 10StockTransactionobjects. Prompt the userfor data for each object, and display all the values.d. Design an application that declares an array of 10StockTransactionobjects. Prompt the userfor data for each object, and then pass the array to a method that determines and displays the twostocks with the highest and lowest price per share.7.) Complete the following tasks:a. Design a classnamedPizza.Data fields include a string field for a topping (such as pepperoni)and numeric fields for diaeter in inches (such as 12) and price (such as 13.99). Include methodsto get and set values for each these fields. Create the class diagram and write the pseudocode thatdefines the class.b. Design an application that declares twoPizzaobjects and sets and displays their values.c. Design an application that declares an array of 10Pizzaobjects. Prompt the user for data foreach Pizza, then display all the values.d. Design an application that declares an array of 10Pizzaobjects. Prompt the user for a toppingand diameter for eachPizza,and pass each object to a method that computes the price andreturns the completePizzaobject to the main program. Then display all the Pizza values. A 12-inch pizza is $13.99, a 14-inch pizza is $16.99, and a 15-inch pizza is $19.99. Any other enteredsize is invalid and should cause the price to be set to 0.8.) Complete the following tasks:a. Design a class namedBaseballGamethat has fields for two team names and a final score foreach team. Include methods to set and get the values for each data field. Create the class diagramand write the pseudocode that defines the class.b. Design an application that declares threeBaseballGameobjects and sets and displays theirvalues.c. Design an applicationthat declares an array of 12BaseballGameobjects. Prompt the user fordata for each object, and display all the values. Then pass each object to a method that displaysthe name of the winning team or “Tie” if the score is a tie.

Attachments:

Answers

(11)
Status NEW Posted 06 Jun 2017 04:06 AM My Price 9.00

-----------

Attachments

file 1496723187-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)