Find Jobs
Hire Freelancers

43879 REALLY simple DELPHI 5/7 task

N/A

Selesai
Disiarkan lebih dari 18 tahun yang lalu

N/A

Dibayar semasa penghantaran
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.
ID Projek: 1793273

Tentang projek

1 cadangan
Projek jarak jauh
Aktif 12 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
Dianugerahkan kepada:
Avatar Pengguna
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 dalam 1 hari
0.0 (0 ulasan)
0.0
0.0

Tentang klien

Bendera
3.5
1
Ahli sejak Okt 16, 2005

Pengesahan Klien

Pekerjaan lain daripada klien ini

106552 Small Homep.+visualisations
N/A
Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.