JennyCocoX
2013-09-26 16:08:25
STATUS = ONGOING SCRIPT - MAYBE STILL NEED A HELPING ^_^
I am trying to find the most common denominator using this script but I get the following error message:
Exception in Script: Found unexpected token ";", expected "Colon" at line 3, column 27
Please help O.O :D:norris::norris::norris::norris::norris::norris::norris::norris::norris:
I am trying to find the most common denominator using this script but I get the following error message:
Exception in Script: Found unexpected token ";", expected "Colon" at line 3, column 27
program FindingGGT;
Function ggT(x,y: Integer);
begin
repeat
begin
If (x >= y) then
Writeln(x-y);
If (x < y) then
Writeln(y-x);
end;
until (y=0) or (x=0);
end;
begin
ggT(693,286);
end.
Please help O.O :D:norris::norris::norris::norris::norris::norris::norris::norris::norris: