![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 27.11.2019 19:31 landonp101
Write a code atm. cpp able to pull .dat files with different names provided by the usersuppose amountwithdrawn denotes the amount to be withdrawn, servicecharge denotes the service charges, if any, andaccountbalance denotes the total money in the account. you can now write the algorithm as follows: a. read accountbalance from a file. the name of the file will be typed in by the user multiple sample files are being provided to test the various pathsget amountwithdrawn from user. b. if amountwithdrawn > 500 print "the maximum amount that can be drawn is $500"otherwise (if accountbalance < = 0) print "account balance is < = 0. you cannot withdraw any money. "otherwise{ if (amountwithdrawn > accountbalance) { print "insufficient balance. if you withdraw, services charges
will be $25.00. select yes/no." if (yes) { if (amountwithdrawn > 300) servicecharge = (amountwithdrawn β 300) * 0.04; otherwise servicecharge = 0; accountbalance = accountbalance β amountwithdrawn - servicecharge β 25; print "collect your money. " print "your remaining balance is $.xx" }}otherwise{ if (amountwithdrawn > 300) servicecharge = (amountwithdrawn β 300) * 0.04; otherwise servicecharge = 0; accountbalance = accountbalance β amountwithdrawn - servicecharge; print "collect your money." print "your remaining balance is $.xx"}
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:30
What is outfitting a workplace with video in a technology
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 20:00
Amanda needs to create an informative print brochure for her local libraryβs fundraiser dinner. what critical detail must she have before she starts designing the brochure?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 18:40
How does is make you feel when you're kind to others? what are some opportunities in your life to be more kind to your friends and loved ones? imagine a world where kindness has be outlawed. how would people act differently? would your day-to-day life change significantly? why or why not?
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 22:20
What is a programming method that provides for interactive modules to a website?
Answers: 1
You know the right answer?
Write a code atm. cpp able to pull .dat files with different names provided by the usersuppose amoun...
Questions
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/User.png)
SAT, 28.12.2021 14:00
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
History, 28.12.2021 14:00
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 28.12.2021 14:00
![question](/tpl/images/cats/User.png)
SAT, 28.12.2021 14:00
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/health.png)
Medicine, 28.12.2021 14:00
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 28.12.2021 14:00
![question](/tpl/images/cats/istoriya.png)
History, 28.12.2021 14:00
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/health.png)