Язык программирования ПАСКАЛЬ!!что не так с кодом?

Uses math;
var
V0, V1, V2, t1, a1, t2, a2 : Int64;
begin
read(V0, t1, a1, t2, a2);
V1 := V0 + t1 * a1;
V2 := V1 + t2 * a2;
if (V0 >= V1) and (V0 >= V2) then;
Writeln(V0)
else if (V1 >= V0) and (V1 >= V2) then;
Writeln(V1)
end;
Writeln(V2)
end.

НА ФОТО УСЛОВИЕ!!
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.