Hello guys! 
I need a little help from anyone who is good at Delphi.
This is my task..
"Write, compile and run a program to display an ‘n’ times table for a value of ‘n’ entered by the user. The output should be, for example if n=4:
1 x 4 = 4
2 x 4 = 8
3 x 4 = 12
……….
12 x 4 = 48
Hand in a listing and screen shot of the program’s output."
So far I have done this:
program Times_table;
{$APPTYPE CONSOLE}
uses
SysUtils;
var num :string[10];
var answer :integer;
begin
answer :=0;
Write('Welcome to the times table console, Press enter to continue.');
ReadLN;
WriteLn('Please enter a number you would like to multiply: ');
Readln (num);
answer := num * 1;
Write('2 x ',num'=',answer);
end.
I cannot get the maths to work... any ideas? Or help?
Thanks!

I need a little help from anyone who is good at Delphi.
This is my task..
"Write, compile and run a program to display an ‘n’ times table for a value of ‘n’ entered by the user. The output should be, for example if n=4:
1 x 4 = 4
2 x 4 = 8
3 x 4 = 12
……….
12 x 4 = 48
Hand in a listing and screen shot of the program’s output."
So far I have done this:
program Times_table;
{$APPTYPE CONSOLE}
uses
SysUtils;
var num :string[10];
var answer :integer;
begin
answer :=0;
Write('Welcome to the times table console, Press enter to continue.');
ReadLN;
WriteLn('Please enter a number you would like to multiply: ');
Readln (num);
answer := num * 1;
Write('2 x ',num'=',answer);
end.
I cannot get the maths to work... any ideas? Or help?
Thanks!
