Design a simple atm service kiosk

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

Design a simple ATM service kiosk. This kiosk supports the following options for its menu: 1. Viewing your account balance

2. Depositing cash
3. Withdrawing cash

4. Leave kiosk

Initially, the account balance is $0.00. When you deposit cash, this account balance is increased by your deposit amount. Similarly, when you withdraw cash, this account balance is decreased by your withdrawal amount. You cannot withdraw more than what exists in the account. Similarly, you cannot deposit a negative cash amount. Use a switchstatement to perform the respective operation in the menu. The ATM kiosk provides these three options until the user selects the option to leave the kiosk. At the end of every transaction, the user is being asked if they need to perform another transaction. Use a do-while to satisfy this last requirement.

Example and expected output:

 

759_c window system.png

Reference no: EM13162491

Questions Cloud

State the glass electrode used in commercial ph meters : The glass electrode used in commercial pH meters gives an electrical response proportional to the concentration of hydrogen ion. To convert these responses to a pH reading
Write a program that finds the equivalent series : Write a program that finds the equivalent series and parallel resistance for a collection of resistor values. Your program should scan first the number of resistors and then the resistor values. Then compute the equivalent series resistance for all r..
Determination of the appropriate amount of undeveloped land : Analyse the determination of the appropriate amount of undeveloped land along this river as an externality and public goods problem
Setting of monetary policy : The various financial indicators suggest that this setting of monetary policy is exerting a degree of restraint on the economy and the high exchange rate and subdued consumer spending are putting downward pressure on some prices, although increases ..
Design a simple atm service kiosk : Design a simple ATM service kiosk. This kiosk supports the following options for its menu: 1. Viewing your account balance2. Depositing cash3. Withdrawing cash
Describe how to prepare 1l of a buffer : Explain how to prepare 1L of a buffer at pH 7.4 using 1M hypochlorous acid (Ka = 3.5 x 10-8) and a 1 M NaOH solution.
Determine the optimal size of the shopping center : Determine the optimal size of the shopping center (to the nearest 100 square meters) based on existing estimates of the demand for retail space.
First display the smallest volume and then the largest volum : first display the smallest volume and then the largest volume.
Compute the equilibrium constant kc for the reaction : Analysis shows that there are 1.8 moles of H2, 7.45e-05 moles of S2, and 7.2 moles of H2S present in a 50.8 L flask at equilibrium. Calculate the equilibrium constant Kc for the reaction.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Implement the guess the word

Implement  the ‘Guess the Word' game in an object-oriented manner

  Create a c++ console application

Objective: Create a C++ console application that will model the characteristics of a resistor. Create a multifile project. Create and add to the project an h file containing the resistor-class definition. Create and add to the project a cpp file cont..

  Program that asks the user to enter up to 100 integer score

Write a C program that asks the user to enter up to 100 integer scores, which are to be stored in an array. (You should allow the user to terminate input prior to entering all 100 scores.) The program should then display all the scores, ten per line,..

  Prepare a linux shell

Prepare a linux shell (in other words, write a C/C++ program) that will recursively prompt for input from the user. The shell should prompt as

  Write c++ programs

Write a C++ program to accept distance in kilometers, coverts it to meters and then displays the result. Write a C++ program to find area and circumference of a circle.

  Write a function num_digits(n)

C programing, not C++ write a function num_digits(n) that returns the number of digits in a nonnegative integer n.

  Define a structure to store marks of a student

Define a structure to store roll no, name and marks of a student - using the structure of Q2. a), above write a 'C' program to create a file "student.dat". There must be one record for every student in the file.

  Write a pseudocode statement

Assume that a program has two string variables named str1 and str2. Write a pseudocode statement that assigns an all uppercase version of str1 to the str2 variable. is str.add(str1,str2) part of it?

  Program to print out invalid number to character

The integer must contain 3 distinct non-zero number, or the program will print out invalid number.it should print out invalid query.

  Calculation of mortgage interest rates

Instruction of pointers and the calculation of mortgage interest rates.

  Properly store the number from variable value

1. Statement will properly store the number from variable  value  into the output file object AnsFile?

  If a class is derived protected

If a class is derived protected from a base class, explain how this affects the inheritance of all public, protected, and private members of the base class by the derived class.

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