Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Basic Help With Delphi


  • Please log in to reply

#1
Yppolitia

Yppolitia

    Member

  • Member
  • PipPip
  • 74 posts
So Im studying Computing at college and we are learning Delphi and have literally spend a lesson doing it so its very basic. Basically I need help with what im doing wrong and what I need to add. I know the compiler points out your mistakes but theres things I need to add but I dont know how to quite put them on the scripting.

Basically what Im trying to do is make a basic piece of software that once the user enters a whole number of pounds sterling i.e. 30 then it will come up with all the possibilities of what it can be divided by, e.g:
1 x 20
2 x 5

and so on. Here is what I have so far:

var
wholenumber;

begin
WriteLn('Enter an amount in Pounds Sterling : ');
ReadLn(wholenumber);



end.


I know its short but I dont know how to involve the DIV and MOD and where.

Please help, I need to get this done A.S.A.P for my project.
  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP