Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Cdwgmny

  • 4 years ago

Write a Java program to find the greatest of three numbers where x=10, y=5, z=15.

  • This Question is Closed
  1. rivermaker
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    largest = x; if (largest < y) { largest = y; } if (largest < z) { largest = z; } System.out.println(largest);

  2. nczempin
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Show us your own attempt.

  3. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy