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

  Atlanta home loan - control failureuse the nine-step case

atlanta home loan - control failureuse the nine-step case analysis method as instructed in the required.requiredyou are

  Write a function named caesardecipher

Write a function named caesarDecipher that accepts a key value (the Caesar shift value) as its first command-line parameter, and a string (the ciphertext) for its second parameter. Your caesarDecipher function should look like this:

  A c language program to implement the quicksort method

QUESTIONS:1. A c language program to implement the Quicksort method to sort a given data element list.2. A c language program to implement the Shortest Job First Algorithm method for CPU Scheduling of various process in   memory.

  Object-oriented systems is the concept of object

At the heart of all object-oriented systems is the concept of an object. Simply stated, an object is a set of related characteristics and their associated actions.

  All the new strings generated

Explain why, if on some round, all the new strings generated for any syntactic category are longer than s, and s has not already been generated for L(), then s cannot ever be put in L(). Hint: Use Exercise 11.3.5.

  Dynamic character arrays

Dynamic character arrays str and add contain strings. Write a function append that uses str and add as arguments and appends add to the end of str. Write a main program that illustrates the use of function append to concatenate five strings.

  Find the sixth maclaurin polynomial for sin x

Find the sixth Maclaurin polynomial for sin x and use Chebyshev economization to obtain a lesser-degree polynomial approximation.

  Credit card is mastercard or visa card

Write  a C++ program  that  reads  the  card  type  and  the  card  number  and  then determine  if  the  card number entered is a valid card number

  Find the retail price for each product

Your program should use a switch statement to find the retail price for each product - Use a sentinel-controlled loop to decide when the program should stop looping and show the final output.

  Write a program that takes a positive integer

Write a program that takes a positive integer from the user and prints the rightmost digit of that integer. This is a sample output: Enter an integer: 1247

  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.

  Write a method changeblue

Write a method changeBlue(weight). Do not change any color of the pixels in the first half of a picture. For the second half, change blue value of each pixel by new blue=original blue * weight. For example, if a pixel has values (200,100,100) and ..

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