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
Sphinxa [80]
3 years ago
5

Create a loop that will output all the numbers less than 200 that are evenly divisible (meaning remainder is zero) by both 5 and

7. 35, 70, 105, 140, 175
Computers and Technology
1 answer:
Readme [11.4K]3 years ago
4 0

Answer:

public class num7 {

   public static void main(String[] args) {

       int n =1;

       while(n<200){

           if(n%5==0 && n%7==0){

               System.out.print(n);

               System.out.print(",");

           }

           n++;

       }

   }

}

Explanation:

  • In Java programming Language
  • Create and initialize an int variable (n=1)
  • Create a while loop with the condition while (n<200)
  • Within the while loop use the modulo operator % to check for divisibility by 5 and 7
  • Print the numbers divisible by 5 and 7
You might be interested in
Which statement best describes the purpose of the Insert Function dialog box?
defon

Answer: b) it is used to insert a specific function by selecting it from the insert function list.

7 0
3 years ago
create a class rectangle with attributes length and width, each of which defaults to 1. provide methods that calculate the recta
Ludmilka [50]

Answer:

20.0.0.0

Explanation:

4 0
4 years ago
To what extent are the following computer systems instances of artificial intelligence:
ss7ja [257]

Answer: Supermarket bar code scanners and Voice-activated telephone menus are not instances of artificial intelligence

Explanation:

(a)Supermarket bar code scanners are only able to read the code however they are not able to perform any kind of machine learning techniques to be able to learn a sequence from the codes. As machine learning is a important part of artificial intelligence (AI) so they are not instances of AI. Similarly for Voice-activated telephone menus they could only display and cannot perform any intelligent task.

Web search engines and Internet routing algorithms are very dynamic and intelligent in processing and retrieving information to the end user.

So they are instances of AI.

8 0
3 years ago
Most users find settings between ____ to be the most convenient option for how long the computer sits idle before the screen sav
Sphinxa [80]
I would say about 5 to 10 minutes
3 0
4 years ago
You have installed a wireless network at your house but all of a sudden, your computer and devices are unable to connect to the
vladimir1956 [14]

The steps that you need to take to troubleshoot the problem and correct it so that connectivity is restored is

  • First Unplug or power off one's  router.
  • Then stay for about two to five minutes before one can plug it back in.
  • The stay for five more minutes and do retry the connection.

<h3>What troubleshooting meaning?</h3>

Troubleshooting is known to be a kind of a systematic method that is often used to problem-solving and this is known to be one that is often used in order to see, find and correct problems that are known to be with complex machines, computers, software systems and others.

Troubleshooting is said to be a kind of problem solving, often used to repair what we call a failed products or processes.

Therefore, The steps that you need to take to troubleshoot the problem and correct it so that connectivity is restored is

  • First Unplug or power off one's  router.
  • Then stay for about two to five minutes before one can plug it back in.
  • The stay for five more minutes and do retry the connection.

Learn more about wireless network from

brainly.com/question/26956118

#SPJ1

7 0
1 year ago
Other questions:
  • Consolidating a system's physical and time resources is known as ________________.
    13·1 answer
  • The Cisco IOS automatically modifies the dead interval when the _____ interval is changed. (Points : 2) hello
    13·1 answer
  • Which of the following is the best definition of metatheatre?
    8·1 answer
  • The DNS server at your headquarters holds a standard primary zone for the abc domain. A branch office connected by a slow WAN li
    14·1 answer
  • Which of the following is a principle that can improve the efficiency of I/O?
    7·2 answers
  • .Prove that f(n) = 3logn + loglogn is capital omega (logn) , what is O(n)?
    8·1 answer
  • True / False<br> General purpose registers can be read and written by ML programs
    10·1 answer
  • Write a loop that displays all possible combinations of two letters where the letters are 'a', or 'b', or 'c', or 'd', or 'e'. T
    15·1 answer
  • PLSSSSS HELPP!! Tropical rainforests are home to many kinds of birds, including parrots, toucans and eagles. Each different spec
    9·2 answers
  • Engineers perform a(n) blank to compare the possible negative effects of making a decision involving technology with the possibl
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!