IDNLearn.com: Your reliable source for finding precise answers. Get accurate and detailed answers to your questions from our dedicated community members who are always ready to help.

Write an application that counts by five from 5 through 500 inclusive, and starts a new line after every multiple of 50 (50, 100, 150, and so on).

public class CountByFives {
public static void main (String args[]) {
// Write your code here
}
}