Design application to declare an array

Assignment Help Programming Languages
Reference no: EM1362060

a)design a class named HousePlant. A HousePlant has fields for a name (fort example, "Philodendron"), a price (for example, 29.99), and a field that indicates whether the plant has been fed in the last month (for example, "Yes"). Create the class diagram and write the pseudocode that defines the class.

b) design an application that declares two HousePlant objects and sets and sets and displays their values

c) design an application that declares an array of 10 HousePlants. Prompt the user user for data for each of the HousePlants, then display all the values.

Reference no: EM1362060

Questions Cloud

Central and peripheral physiological changes : What could be central as well as peripheral physiological changes and/or limitations to sustained aerobic activity?
Strategies for sustaining a competitive market profile : What other strategies would be a good fit for your company profile and provide a brief overview of these strategies.
Compute the implied expected inflation rate : Suppose that a three year Treasury note has no maturity premium, and that the real, risk-free rate of interest is 3%. If the T-note carries a yield to maturity of 13%,
Explain several business reports : Explain - Because of recent changes in your organization one of your employees was given the task of writing several business reports
Design application to declare an array : Design an application that declares an array of 10 HousePlants. Prompt the user user for data for each of the HousePlants, then display all the values.
Find the magnitude of the vertical component of the velocity : A 91kg water skier floating in a lake is pulled from rest to a speed of 12 m/s in a distance of 25 m.What is the net force exerted on the skier, suppose his acceleration is constant.
Exercise limitations in a patient with copd : What would be tests and measures which would probably include resting and exercise measures that would be used to determine exercise limitations in a patient with COPD?
Determine the highest price for stock : The last dividend on Spirex Company's common stock was $4, and the expected growth rate is 10%. If you require a rate of return of 20%, Determine the highest price for this stock?
What is the magnitude of the charge placed on each body : A person can survive a feet-first impact at the speed of about 12 m/s (27 mi/h) on concrete; 15 m/s (34 mi/h) on soil; and 34 m/s (76 mi/h) on water. Why are there different values for different surfaces.

Reviews

Write a Review

Programming Languages Questions & Answers

  Program to create new departments to sustem

An ability to add new departments to system. The program should permit you to create new departments. Each department has a name, and a location (e.g. "Sydney" or "Tokyo").

  Design function to accept two integer values

Design function named max that accepts two integer values as arguments and returns the value that is the greater of the two. for example if 7 and 12 are passed as arguments to the function the function should return 12.

  Write a program that will generate an array

Write a program that will generate an array

  Program to enter answer to a math problem

Write a program which ask student to enter an answer to a math problem. The user must enter two values, one at time, and then ask for answer.

  Values of variables of logical section of the pseudocode

What are the values of variables a, b, and c after each line of code of each logical section of the pseudocode. Show why the logical section is running.

  Smallest and largest values in element floating-point array

Copy 11-elemts array source into first portion of 34-element array sourceCopy. Find out the smallest and largest values in 99-Element floating-point array data.

  Give value of mytop and contents of the array

Assume that stack is the class described in this section with stacktype set to int and stack_capacity or mycapacity set to 5. Give the value of mytop and the contents of the array.

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explaining law of diminishing returns

As computer word size gets larger and larger, there is a law of diminishing returns; speed of execution of application programs doesn't increase and may, in fact, decrease.

  Identify components that perform distinct service

Identify components that perform a distinct service. Although the details can be quite complex, these details are the basic principles of object-oriented programming

  Prepare a presentation on backgrounds and fonts

Can you still read the text? Is it too narrow or thick? Is an icon hidden by the background? You should also include tips for choosing backgrounds and fonts.

  Design pseudocode to enter names of two primary colors

Design a pseudocode program that prompts the user to enter the names of two primary colors to mix. If the user enters anything other than "red", "blue", or "yellow".

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd