Data members to store values of the two loans

Assignment Help Programming Languages
Reference no: EM1352689

a) A class that represents a person who belongs to a SACCO has two data members to store values of the two loans the person owes the SACCO.

i) Write the class

ii) Add a parameterized constructor that initializes these loans using the two values passed as arguments.

iii) Add a member function that reduces the amount of the first loan by the value of the single argument passed to it.

iv) Add a member function that returns the sum of money that the member this object refers to owes the SACCO.

Reference no: EM1352689

Questions Cloud

Introduction to learning and cognition : What is the relationship between learning and cognition? Provide a specific example.
Concepts in organizational behavior-motivation-ip : Using the appropriate organizational analysis format continue your analysis for Kenneth Dailey of FMC Green River by focusing on employee motivation.
Find the required rates of return on stocks : The beta coefficient for stock 0.4 and that for stock -.05. stock D's beta is negative, indicating that its rate of return rises whenever returns on most other stocks fall.
What are the differences in leadership at both facilities : What are the differences in Leadership at both facilities and How will changes at Green River need to be implemented to match Leadership skills?
Data members to store values of the two loans : A class that represents a person who belongs to a SACCO has two data members to store values of the two loans the person owes the SACCO. Add a parameterized constructor that initializes these loans using the two values passed as arguments.
Concepts in organizational behavior : Leadership and Groups - Concepts in Organizational Behavior - Explain what are the primary differences between face-to-face and virtual teams?
What is the direction and angle of the velocity : one end of a uniform beam of 222N is hinged to a wall, the other end is supported by a wire that makes angles of 30 with both wall and beam, find out the tension in the wire and horizontal and vertical componentes of the force od the hinge on the ..
Illustrate what are the concepts gender planning : Illustrate what are the concepts gender planning, gender budgeting and gender mainstreaming mean.
Communication-verbally or non verbally : Language is the way we communicate. We may communicate verbally or non-verbally. In thinking, we don't get to see any non-verbal communication

Reviews

Write a Review

Programming Languages Questions & Answers

  Create nested menus interface for a check-in hotel

Create a nested menus interface for a check-in and check-out hotel reservation system that can be used internationally. Use numbers to select a menu item.

  Create logic for program to enter each household size

Create logic for a program that allows a user to enter each household size and find out the mean and median household size in Marengo.

  Compute the product xy

Given two integers X and Y compute the product XY (multiplication), the quotient X=Y (integer division), and the modulus X (mod Y) (remainder).

  Program to compute person-s body mass index

Write a program to compute person's body mass index? Create a modular program which calculates and display person's body mass index (BMI).

  Produce a project plan

Produce a project plan and an interim description of the project development

  Create application to generate a series of random numbers

Create the application to generate a series of 100 random numbers in the range of 1 through 1000. Save the series of numbers in a file.

  Write program to prints the question

Write a program that prints the question"do you want to continue?" and reads a user input. if the user input is"y", "yes", "ok", "sure", or "why not?".

  Basics of hypertext markup language

The basics of Hypertext Markup Language and World Wide Web.

  Write a program that will generate an array

Write a program that will generate an array

  Formula translation

Write a c code that will evaluate the roots of a quadratic equation

  Program-visual basic to compute tips for services rendered

Write a program in Visual Basic 2010 to compute tips for services rendered. The program should request the person's occupation, the amount of the bill and the percentage tip

  Program to read an employee-s number from keyboard

Write a program that reads an employee's number from the keyboard, number of hours worked and an hourly rate of pay.

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