Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- program sum2;
- var x,y,z:real;
- begin
- read(x,y,z);
- if x>z then
- if y>z then
- writeln(x+y);
- if x>y then
- if z>y then
- writeln(x+z);
- if y>x then
- if z>x then
- writeln(y+z);
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement