Find Jobs
Hire Freelancers

43879 REALLY simple DELPHI 5/7 task

N/A

Completed
Posted over 18 years ago

N/A

Paid on delivery
Hello, I need a program, programmed in DELPHI 5 or 7, the program must be structured extremely simple with open source and all additional Units etc. - should be solved without using many tools - really as simple as possible, very easy layout and no additions. A huge part of the task is also math. It need to be realised very fast! This is my first time here, and I'll pay via PAYPAL! This is the task: Peter is angry about the huge number of coins he has in his wallet. He tries to have as few coins as possible in his wallet after each purchase. His purchases are always between 5 cent and 30 dollars. He knows that the cashier always gives him as few coins as possible back. He has always enough 1 dollar coins/notes. An example: If he has as the only cent-coin in his wallet a 2-cent-coin and has to pay $2.46 he would give the two cent coin to the cashier (and 3$), now he he has finally only 3 coins (50,5 and 1-cent), instead of 4 (50 and three times 2-cent) Write a program which simulates (no diagrams or smthg like that) the the development of cent coins in peters wallet. You can assume that he has 2 coins of each kind (1 Cent, 2 Cent, 5 Cent, 10 Cent, 20 Cent and 50 cent) in his wallet at the beginning. For each amount the program shall return and show which and how much coins peter has to give the cashier. I wish a user interface with a simple button "submit" and if you click it, you see the amount between 0.05$ and 30$ and a field where you see the coins he had to give to the cashier and how many (1-cent,2-cent,5-cent,10-cent,20-cent,50-cent) coins are in his wallet yet. I hope you understood the task. PLEASE NOTE: You need to simulate random amounts between 0.05$ and 30$. So after you clicked "Submit" you can have the Button "Next purchase" and the program says which amount he had to pay now and which coins he had to give the cashier, which coins he received as change and how many coins are in his wallet yet. And than you can click "next purchase" again - as many times as you want. The aim is to calculate how many coins he has in his wallet on average. Additional Info It is really simple to solve the task, I was just struggeling in background knowledge. It should be really a simple Delphi program I try to provide a pic of what I want.
Project ID: 1793273

About the project

1 proposal
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I'm a programmer with a 5 years experience in Delphi programming. You're job sounds easy and interesting. Will be done in maximum 24 hours with the BEST quality and regards. If you have more Delphi projects, please post them... Thank you! (Finally changed my bid)
$40 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of
3.5
1
Member since Oct 16, 2005

Client Verification

Other jobs from this client

106552 Small Homep.+visualisations
N/A
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.