Pascal :
program hello; var a,b,c,s:real; begin while not eof(input) do begin readln(a,b); c:=a+b; s:=a*b; writeln('C=',c:0:2,' S=',s:0:2); end; end.
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.
Using your 算道OJ universal account