Create an array of boat objects

Assignment Help C/C++ Programming
Reference no: EM13325535

(1)Create Classes for each of the object types that need to be stored, as indicated above.

 (2) Create an array of Customer objects. You should populate the array with 4 to 6 customers, entering information into all fields of the Customer object. Again they should be created in "non-alphabetical" and "non-numeric" order as far concerns their last name and customer ID. (Again, see Note #3 in Programming Notes below to understand how to populate Objects with data.)

• Display the total number of customers that exist.

• Print Customer information about each customer. You can either print all information (fields), or print customer ID, last name, first name, boat number, and slip number (excluding address and phone number).(See Notes #4 and #5 in Programming Notes below.)

• (3) Create an array of Boat objects. You should populate the array with as many boats as you have customers (since we assume one boat per customer), entering information into all fields of the Boat object. (The boat numbers in the Customer and Boat objects should match.)

• Present the "total" value of all boats moored at HVM as a sum (in dollar amount, formatted properly).

• (4) Create an array of Slip objects. You should populate the array with 10 slips, entering information into all fields of the Slip object. (Make sure that all customers have a valid slip number in their information, and mark that slip as rented.)

• Display the total number of slips that exist.

Reference no: EM13325535

Questions Cloud

Determine the interval where the function is concave up : Consider the following function. f(x) = x^3 ln x b) Use l'Hospital's Rule to determine the limit as x ? 0+, c) Use calculus to find the minimum value., d) Find the interval where the function is concave up.
Estimate the average force exerted by a shot-putter : Estimate the average force exerted by a shot-putter on a 7.0 kg shot if the shot is moved through a distance of 2.8 m and is released with a speed of 13 m/s
Compute the moment of inertia around the center of mass : Two small charges with a mass of 1.0 g each are connected by 2.0-cm-long insulating rod of negligible mass. Obtain the moment of inertia around the center of mass
Calculate the maximum distance up the ramp : A box of unknown mass begins at the base of a 30 degree ramp with an initial velocity of 10.0 m/s. calculate the maximum distance up the ramp which the box will reach
Create an array of boat objects : Create Classes for each of the object types that need to be stored, as indicated above.
Find the momentum and the kinetic energy of each : An electron and a proton are accelerated starting from rest through a potential difference of 10 million volts. Find the momentum (in MeV/c) and the kinetic energy (in MeV) of each
Explain what happens to price and quantity of oil : Congressional action taht allows oil drilling operation in more areas of the Alaska preserve.
Calculate the energy-density of this new fuel : A new plant oil is discovered that is easy to recover from the plant and it might be a useful fuel. A question is the energy density of the fuel. Calculate the energy-density of this "new fuel"
Find the charecteristic frequency of this mass on the spring : A spring stretches 0.05 m when a 0.3 kg mass is suspended from it. find the charecteristic frequency of this mass on the spring

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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