May I ask you a question on Delphi? The following is my question:
Write a program that asks for two numbers from the user. Add these numbers together and store them. Then output to the screen the equation with the correct answer. Eg
please enter a number
28
please enter another number
3
thank you
28 + 3 = 31
But I do in this way:
program sumof2numbers;
{$APPTYPE CONSOLE}
uses
SysUtils;
Var
number1, number2, total: integer;
begin
writeln ('Please enter a number');
readln (number1);
writeln ('Please enter another number');
readln (number2);
total :=number1+number2;
writeln ('The total of the two entered numbers is ',total,' ,');
sleep (50000)
Could you tell me how can I show: 28 + 3 = 31 ??
Cheers,