Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

what will be code for this problem? problems Problem 1: Automated Teller Machine Yau will write a program that enables an automated teller machine (ATM)

what will be code for this problem?
image text in transcribed

problems Problem 1: Automated Teller Machine Yau will write a program that enables an automated teller machine (ATM) to process basic transactions. In this frst problem. you will calculate the amount Of cash to a keturn tp a Customer for a given transaction. The program will take as input information from the customer card. hcluding first and last name as wetl as the item to be purchased. The cost of Sn item as well as the amount ot cash given by the customer Input You will receive (from user) the follmving "input (in order): The first and last name of the customer (e.o Eric Poitras) The item to be purchased, dentified through a barcode 1909238092) The cost of the item to be purchased by the customer (e.g., The cash amount given the customer (e.g. 1000) Processing Printthe data Stored in each variable in the format described below Hint: each test output values to note space deli miters and number of decimals for floating-point numbers Output custc-ner (Last. SLAsr Item Number Item Cose eCoST>

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions