Determining loops in c and c++

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

Senario: For many years, your Uncle Frank has been running a small landscaping business. Through these years, he acquired many steady clients and knew most of them on a first name basis. Once a month, after completing the work for that day, he would calculate (on the spot) how much the client owed for the month with services rendered each week; he would collect the payment and write a receipt.

His clients were charged various prices. Some clients were given a 10% discount because they were old friends. Some clients were given a $10.00 discount per lawn because of the amount of their business (5 lawns or more). New clients just paid the regular advertised price of $35.00 per lawn.

Recently, your uncle has hired some additional help because he has been getting older and can't do all the work like he used to. These employees are good and do a great job on landscaping, but for some reason, they have a hard time collecting payments. Either they forget to get a payment or they quote the wrong amount to the client. Your uncle knows he has to find a solution to this problem quickly; otherwise, he may go bankrupt.

At the next family gathering, your uncle asked you if you knew of any solutions for this problem. Since you are in college and taking a computer course, you know that this problem could easily be solved with the use of a computer.

After discussing this with your uncle, you agree to set up a computer and create a program that would keep track of his clients. It would calculate the bills and print invoices that would be mailed to the clients. It will also keep track of the client payments when they were received.

When the clients received their invoices, they would have 30 days to send in their payment. When the payment was received, the program would update the account to reflect this payment, but if no payment was received, then this month's bill would be added to next month's bill plus a 5% late charge.

Reference no: EM13939101

Questions Cloud

Program to declare variables in c : What is the value of the following (Boolean) expression?
Compute materials price and usage variances for each patient : Compute the materials price and usage variances for each type of patient. Compute the labor rate and efficiency variances.
Describe the region of the cns that was injured : Find a peer review study in which a subject has sustained an injury to a particular region of the CNS. Describe the region of the CNS that was injured.
Internationalisation process of the firm : Overview of the company as an MNC Country analysis Climate of the industry in the host country Internationalisation process of the firm (how?why? with whom?key challenges?) Reflections (What have you learnt?)
Determining loops in c and c++ : At the next family gathering, your uncle asked you if you knew of any solutions for this problem. Since you are in college and taking a computer course, you know that this problem could easily be solved with the use of a computer.
Conservation of malaysian rainforest in international scene : How would you propagate the conservation of the Malaysian Rainforest in International Scenario?
Problem regarding the oxygen and carbon dioxide : Compare the characteristics of these two gases: Oxygen and Carbon Dioxide. Discuss the uses of oxygen in Medicine/Anaesthesia based on its characteristics.
Calculate upper control limits for each manufacturing cost : Calculate the upper and lower control limits for each manufacturing cost category. Compute the total materials variance, and break it into price and usage variances. Would these variances be investigated?
Methods of sterilisation and disinfection using flow charts : 1. Classify the methods of sterilisation and disinfection using flow charts. (Physical, chemical and gases).

Reviews

Write a Review

C/C++ Programming Questions & Answers

  A password must have at least eight characters

A password must have at least eight characters. A password must consist of only letters and digits. A password should contain at least one uppercase letter. A password must contain at least two digits.

  What is the line of code doing?

What is the line of code doing?

  Object-oriented programming with vcl form

I need someone to help in my project which is windows application program. It supposed to be in program Object-Oriented Programming in C++ with VCL form.

  Prepare a program that frees invokes delete with a pointer

Prepare a program that frees invokes delete with a pointer to all the nodes on a given linked list.

  How to use classes with private and public variables in c++.

I am trying to learn about how to use classes with private and public variables in c++. I've got a conversion program that I would like to use as a prop.

  Write a program that reads the scores from the file

Write a program that reads the scores from the file and displays their total and average. Scores are separated by blanks.

  Include a main function that will solicit

Include a main function that will solicit a DNA sequence string from the user, call the genes function to obtain all the genes in the sequence and print each one on the console display

  Write a driver program called testrationalnumber.cpp

Write a driver program called testRationalNumber.cpp to test each of the above functions and overloaded operators in the RationalNumber class.

  Recognize a string typed in as a valid or invalid

Use regex to recognize valid Social Security numbers.  A valid Social Security number consists of three digits, an optional hyphen, two digits, an optional hyphen, and four digits.

  C++ code to find the greatest common divisor

C++ Code to find the Greatest common divisor between two numbers.

  Returns the value of the arithmetic sum up to n

Write and test the following function that returns the value of the arithmetic sum up to neg. SumUpto(5) = 5+4+3+2+1 =15int SumUpto(int)

  An essential component of compromised to a resource

1. true or false? an essential component of compromised to a resource is that the situation resulting in the compromise was motivated by malice. A.true B.false

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