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

  Create a menu type form that gives user to select subforms

Create a menu type form that provides the user the capability to select one of the following two subforms. Means of selection is programmers choice.

  Program to keep track of the seat availability of flight

A small airline company needs a program to keep track of the seat availability of its flights. Design the structure type FLIGHT to store a four-digit flight number.

  Write a script to declares and sets variable

Write a script that declares and sets a variable thats equal to the total outstanding balance due. If that balance due is greater than $10,000.00.

  Explain about lexical analyzer

Explain about Lexical Analyzer

  Creating loop to find number of items bought based on price

Make a block using a loop that will find the number of items that can be bought based on the price of the item and the total amount available to spend.

  Give hypertext link of the internet location of program

Describe in one or two paragraphs what you observe. Give hypertext link of the internet location of the program (or applet) you found.

  Create class templates for administrative employess

Create classes or class templates for the following: Administrative Employess are paid a salary, but they also receive a bonus at regular intervals during the year.

  Explaining variable in an arrays of ints

Assume that variable A is an arrays of ints. Consider the following code segment.

  Find number values that are between given range

Suppose the values from aaa.txt have been loaded into array Bob: find out the number values in Bob that are between 0 and 4 (not inclusive).

  Create class using static variable to store annual interest

Create class SavingAccount. Use a static variable annualInterestRate to store the annual interest rate for all account holders. Each object of the class contains a private instance variable savingsBalance indicating the amount.

  Creating webpage using css

In creating a web page, depending on the information you are trying to convey. What are CSS?

  Code to sum of all the elements of the array

Write some code that places the sum of all the elements of the array x into total. Declare any variables that you need.

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