Помогите перевести с Паскаля на С++
uses crt;

var x,y,z,max: real;

begin

readln(x,y,z);

if x+y+z>x*y*z then

writeln('max=x+y+z=',x+y+z);

if x+y+z
writeln('max=x*y*z=',x*y*z); if x+y+z=x*y*z then

writeln('x*y*z=x+y+z=',x*y*z);

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.