Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Cdwgmny

  • 4 years ago

Write a Java program to print the result in the series 10, 15, 20, 25, ..., 50. Hint: You can use an iteration statement for writing this program.

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

    for (int i = 10; i <=50; i += 5) { System.out.println(i); }

  2. 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