Program n_1;
var x: integer; y: double;
begin
readln(x);
y:=x mod 10;
x:=x div 10;
y:=x*x+y/2;
writeln(y:0:1);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Program n_1;
var x: integer; y: double;
begin
readln(x);
y:=x mod 10;
x:=x div 10;
y:=x*x+y/2;
writeln(y:0:1);
end.