Ask C/C++ Expert


Home >> C/C++

You need a program that is in C language that completes these following tasks :

(the program does not need to be exactly like the document states, it can be changed to be better)

The machine is to be located at the entrance of main gate. This will ensure that a car can park only after the payment is made. The best method will be to simply issue a prepaid parking permit. This is because in case a customer loses the ticket the payment is already made so there will not be any issues.

The machine will have a combination of all three that is; hours ,days, and months......as there will be separate charges for each so the machine must have the combination of these. The machine must allow the monthly parking pass this will be very beneficial to those customers who are parking their vehicles on a daily basis.

The machine will be in charge of all the parking spots in the parking lot. The only constraints would be that you can have your car parked up to 8 hours, and overnight parking is not allowed. Parking permits would be printed from the machine. The machine would track the parking spots by recognizing the number of spots that are not occupied. This will allow a patron to pick any of the available parking spots.

The rates of parking and methods of payment will be displayed to the user as well as a disclosure statement denying responsibility from any damages that happen in the parking lot.The only information that the user will have to enter is which type of parking pass they want. The confirmation screen will display the rate and prompt the user to confirm and insert their payment. As for payments there will be an option for either cash. United states currency is the only type of currency that will be accepted. Coins will be dispensed as change.

The information that is needed to be kept track of is the total amount of money that is due and also the total amount of money that is being added into the machine while at the same time checking if the payment is going over or is missing money.

The information that will be needed by the change dispenser is the amount being charged and the total amount of money that was added to the machine.The type of information that would be needed to be displayed to the user regarding cash payments is what type of cash payment they would be using.

For example, the machine should display the kind of payment that is available that is only cash. The inventory will be controlled by having a two month supply of parking passes that will guarantee that there will never be an outage of passes if a person chooses to purchase a parking permit.

The only information that is necessary is knowing if the machine is getting low on parking permits. The information will be updating at the end of every day and will notify the supplier if necessary. The information will be updated by having a fill spot and will just need to be reset.

The information will not change unless the machine is at a low level of permits and needs to be changed within the week. When keeping track of the amount of money that has been collected the machine will subdivide each type of currency and its value. (For example 5 x $1 bills ,10 x $10 bills, 250 x quarters....etc). In order to ensure there is an adequate amount of change available the machine will be pre-loaded with 300 dollars of bills and coins. It will notify an employee on hand if change ever runs low to add more change for the machine to dispense.

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M93068743

Have any Question?


Related Questions in C/C++

Question 1find the minimum and maximum of a list of numbers

Question: 1. Find the Minimum and Maximum of a List of Numbers: 10 points File: find_min_max.cpp Write a program that reads some number of integers from the user and finds the minimum and maximum numbers in this list. Th ...

Software development fundamentals assignment 1 -details amp

Software Development Fundamentals Assignment 1 - Details & Problems - In this assignment, you are required to answer the short questions, identify error in the code, give output of the code and develop three C# Console P ...

What are the legal requirements with which websites must

What are the legal requirements with which websites must comply in order to meet the needs of persons with disabilities? Why is maximizing accessibility important to everyone?

There are several ways to calculate the pulse width of a

There are several ways to calculate the pulse width of a digital input signal. One method is to directly read the input pin and another method (more efficient) is to use a timer and pin change interrupt. Function startTi ...

Assignment word matchingwhats a six-letter word that has an

Assignment: Word Matching What's a six-letter word that has an e as its first, third, and fifth letter? Can you find an anagram of pine grave. Or how about a word that starts and ends with ant (other than ant itself, of ...

1 implement the binary search tree bst in c using the node

1. Implement the Binary Search Tree (BST) in C++, using the Node class template provided below. Please read the provided helper methods in class BST, especially for deleteValue(), make sure you get a fully understanding ...

Assign ment - genetic algorithmin this assignment you will

ASSIGN MENT - GENETIC ALGORITHM In this assignment, you will use your C programming skills to build a simple Genetic Algorithm. DESCRIPTION OF THE PROGRAM - CORE REQUIREMENTS - REQ1: Command-line arguments The user of yo ...

Project - space race part a console Project - Space Race Part A: Console Implementation

Project - Space Race Part A: Console Implementation INTRODUCTION This assignment aims to give you a real problem-solving experience, similar to what you might encounter in the workplace. You have been hired to complete a ...

Why do researcher drop the ewaste and where does it end

Why do researcher drop the ewaste and where does it end up?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As