Advertisement
Guest User

Untitled

a guest
Nov 24th, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. program sum2;
  2. var x,y,z:real;
  3. begin
  4. read(x,y,z);
  5. if x>z then
  6. if y>z then
  7. writeln(x+y);
  8. if x>y then
  9. if z>y then
  10. writeln(x+z);
  11. if y>x then
  12. if z>x then
  13. writeln(y+z);
  14. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement