1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
barxatty [35]
4 years ago
9

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

, 100, 150, and so on). Save the file as Count By Fives.java.
Computers and Technology
1 answer:
padilas [110]4 years ago
3 0

Answer:

//package CountByFives.java;

import java.util.*;

import java.io.*;

class Main{

public static void main(String[] args)

{

System.out.println("Enter the maiximum number of numbers");

Scanner sq1=new Scanner(System.in);

int num =sq1.nextInt();

int i=0,n=0,a=10;

while(i <=num)

{  

   

   System.out.print(i);

   i+=5;

   if(n==a)

   {

     System.out.println('\n');

     n=0;

   }

   n=n+1;

}

}

}

Explanation:

Please check the answer section.

You might be interested in
Assume we have a two-class learning problem where the labeled data consists of 1,000 data points from one class, and 10 data poi
lakkis [162]

Answer:

I don't know

Explanation:

please just thank me I need the points

4 0
4 years ago
Whenever I go onto Google Chrome, the words are in Spanish! How can I make the words be back in English again? Please let me kno
ivann1987 [24]

Answer:

Go to google setting look up english on setting bar and it should have the option to change or add languages make sure you press save when choosing english

Explanation:

5 0
3 years ago
Por favor alguem poderia me falar se este Computador Gamer Fox PC FPS Intel Core i5 8GB 3.4 GHZ GeForce GTX 1050Ti 4GB GDDR5 HD
AleksAgata [21]

thats an trash computer

5 0
3 years ago
I’ll mark brainliest, thanks
Mrrafil [7]

Answer:

if that is a tutorial, than just hit submit, the teacher doesn't see it.

Explanation:

i do online schooling on the same website

7 0
3 years ago
Read 2 more answers
An example of an "external brain" is:
mojhsa [17]

<u>Answer:</u>

<em>Organize things </em>

<u>Explanation</u>:

It is the <em>duty and power of external brain to Organize ideas</em>. Per day we may have plenty of works to be done. So we start thinking about <em>one by one and finally we try to sort out and organize how to perform, when to do and what is the first and last task etc. </em>

It is the external brain which is helping us to figure it out. But there are certain times where we <em>dump things together</em>, especially when there is an very important like marriage of our family member, where they <em>give lots of responsibilities. </em>

<em>At that time, we have very limited time to work out things and we dump our external brain. </em>

7 0
3 years ago
Read 2 more answers
Other questions:
  • "​the three legs of a project triangle are _____, scope, and time."
    8·1 answer
  • Your computer running Windows 7 is doing some very strange things with the operating system. You are fairly certain it is not a
    10·1 answer
  • Where can you make changes to AutoCorrect?
    14·2 answers
  • Which of the following tasks is an interactive media professional most likely to do? Check all of the boxes that apply. 1. decid
    11·1 answer
  • Using _________ feature of macOS, you can have separate sets of open program windows for the desktop. It is a handy way to organ
    13·1 answer
  • What is jcl language on the mainframe?
    10·1 answer
  • PLEASE HELP!
    6·2 answers
  • .input devices are pieces of equipment that are used to put data into the computer true or false​
    13·1 answer
  • Why do i keep losing points in brainly.com and how do you lose it?
    8·2 answers
  • Peyton is having trouble searching for information on butter lettuce. Every time he searches for it, he gets some results for bu
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!