Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

itec 109 File l file:///C/Users/ryand/Downloads/1TEC109-Lab02-book%202).pdf Task 2: Make a point of sale system for a retro-games store Old-mart wants to computerize their sales system to

itec 109
image text in transcribed
File l file:///C/Users/ryand/Downloads/1TEC109-Lab02-book%202).pdf Task 2: Make a point of sale system for a retro-games store Old-mart wants to computerize their sales system to improve accountability and accuracy They have four games in stock and each has its own price. They are listed below. Create a program that will prompt the user for which game to buy (entering a number is acceptable). Next, prompt the user for how much money was given to the cashier. Lastly, print out if the amount was enough to buy a game, and if so how much change should be given to the customer. Use Functions! Game Prices: 1. Zelda 10.00 2. Sonic 8.99 3. Mario 15.00 4. Asteroids 2.00 You could setup a menu for this section and prompt a user for a numeric value and subtract the input amount from the price of a game. Its tragic that we could only make purchase on one game at the moment. Task 3: Finance Equation I For this section, prompt a user to input the following items based on this formula and produce an output of Compund Interest. Use Functionst Compound Interest: A -P(1))n P- Principal (Dollar amount) r-Interest rate (decimal value, 25% is .25) n Compounding per period (number of times per year) 1-Number of periods (number of years the money is invested or borrowed) 09 Laboz.bo...pd 09 Lab02 bo...po pe here to search

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Inference Control In Statistical Databases From Theory To Practice Lncs 2316

Authors: Josep Domingo-Ferrer

2002nd Edition

3540436146, 978-3540436140

More Books

Students also viewed these Databases questions