Write code to directly initialize basic variables to zero

Assignment Help Programming Languages
Reference no: EM131320945

Assignment

Homework assignments must be individual's original work. Discussion without taking notes will be fine, but collaborations will not be tolerated. Dishonesty will result in an automatic F grade and a formal charge of Academic Dishonesty will be reported.

Each member of Glasgow Health Club must pay monthly dues that consist of a basic fee and one or more optional charges. The basic monthly fee for a single membership is $50; for family membership, it is $90.If the member has single membership; the additional monthly charges are $30 for tennis, $25 for golf, and $20 for racquetball. If the member has family membership; the additional monthly charges are $50 for tennis, $35 for golf, and $30 for racquetball.

In this assignment, you are required to complete the given incomplete application which displays the member's basic fee, additional charges, and monthly dues. The application contains a class called Dues (Dues.vb).The name of the solution, project, and form file are Glasgow Health Solution, Glasgow Health Project, and Main Form.vb, respectively.

The interface of this application is shown as follows:

Function/Sub procedure

Description

exitButton_Click

Define exitButton click event.

ClearLabels

Clear the content of the Labels.

calcButton_Click

Calculates the monthly dues, which include a basic fee and optional charges.

Complete the following parts in the given application. Questions 1 to 6 are in Dues.vb file and Questions 7, 8 are in Main Form.vb file.

Fill the given two blanks so that the statement defines a class called Dues.

Complete the Basic() Property procedure which uses to retrieve and set _basic Property's value.

Complete the Additional() Property procedure which uses to retrieve and set _additional Property's value.

Write code to directly initialize the _basic and _additional variables to zero within the default constructor.

Write code to indirectly initialize the _basic and _additional variables to b and a respectively within the parameterized constructor.

Note: Use Public properties Basic and Additional.

Complete the GetDues() Function procedure which returns the summation of _basic and _additional variable values.

Fill the statement so that it instantiate an object of class Dues called memberDues.

Fill the statements so that they call the Basic Property procedure in Dues class to set the value of _basic to the value of SingleBasic/ FamilyBasic variable according to the conditions.

Reference no: EM131320945

Questions Cloud

What is the cross-rate of euros to swiss francs : What is the cross-rate of euros to Swiss francs (Euro/SF)? Enter your answer rounded off to FOUR decimal points - how many yen could one U.S. dollar buy tomorrow? Enter your answer rounded off to two decimal points.
Why do researchers use factor analysis : Imagine that you conducted a factor analysis on a set of variables that were uncorrelated with one another. How many factors would you expect to find? Why?
What is the decision facing ikea : What is the decision facing IKEA? What factors are important in understanding this decision situation? What are the possible alternatives? Fully describe at least two.
Electric potential difference between front and tack surface : Show that the Fermi energy or Fermi potential is spatially constant in the n-type Si slice with linearly varying donor dopant impurity concentration as given in given problem.
Write code to directly initialize basic variables to zero : Complete the Additional() Property procedure which uses to retrieve and set _additional Property's value. Write code to directly initialize the _basic and _additional variables to zero within the default constructor.
Marketing department of a large manufacturing firm : Suppose that the marketing department of a large manufacturing firm decided to adopt the motto, "We will build a product to suit any buyer's needs." What type of difficulties could this philosophy impose on the operations department?
Describe how structural equations modeling works : Distinguish between latent variable modeling and path analysis as types of structural equations modeling.
Sources of input to a marketing information system : Marketing Information Systems.  Student can identify at least three sources of input to a marketing information system for a product or service offering
Compute cost of goods sold and gross profit under fifo : Compute cost of goods sold and gross profit under FIFO - Compute cost of goods sold and gross profits using LIFO.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  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.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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