I have started on delphi this week at college and it is my first language, basically I have made a couple of simple consoles, but I was wondering how to program an interface for a console so it isnt just a black box.
This is the most complicated thing I have done so far:
amount, twenty, twentyrem, ten, tenrem, five, fiverem, two, tworem, one : Integer;
writeln ('Please enter the amount of money and then press enter:');
twenty := amount DIV 20;
twentyrem := amount MOD 20;
ten := twentyrem DIV 10;
tenrem := twentyrem MOD 10;
five := tenrem DIV 5;
fiverem := tenrem MOD 5;
two := fiverem DIV 2;
tworem := fiverem MOD 2;
one := tworem DIV 1;
writeln ('20 notes needed:', ' ', twenty);
writeln ('10 notes needed:', ' ', ten);
writeln ('5 notes needed:', ' ', five);
writeln ('2 coins needed:', ' ', two);
writeln ('1 coins needed', ' ', one);
Just a program that allows the user to enter a amount of money and then it counts out how many notes they need (money). I want to make a interface for it so that it isnt just a console black box. How do I do this? I am using delphi 2007.
CrazedDocMember Since 13 Sep 2008
Offline Last Active Sep 13 2008 10:26 AM
- Group Just Joined
- Active Posts 1
- Profile Views 686
- Member Title CC Lurker
- Age 30 years old
- Birthday June 8, 1989
I from the UK and currently in college (high school).
Gaming, Basketball, Computing
- Skype crazeddoc
CrazedDoc hasn't added any friends yet.