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
kolbaska11 [484]
3 years ago
7

True or False?

Computers and Technology
1 answer:
Nadya [2.5K]3 years ago
6 0

False.

The different between break and continue instruction is that with break you exit the loop, and with continue you skip to the next iteration.

So, for example, a loop like

for(i = 1; i <= 10; i++){

   if(i <= 5){

       print(i);

   } else {

       break;

   }

}

will print 1,2,3,4,5, because when i=6 you will enter the else branch and you will exit the loop because of the break instruction.

On the other hand, a loop like

for(i = 1; i <= 10; i++){

   if(i % 2 == 0){

       print(i);

   } else {

       continue;

   }

}

Will print 2,4,6,8,10, because if i is even you print it, and if i is odd you will simply skip to the next iteration.

You might be interested in
Does anybody play nitro type
vlabodo [156]

Answer: Nah

Explanation: it kinda sucks and is a waste of time, play better games lol

3 0
3 years ago
Read 2 more answers
An _____ is a narrow strip of land connecting two larger land areas.
inessss [21]

Answer: isthmus

Explanation:

5 0
3 years ago
Which of the following statements is true? a. Predicate methods typically test a condition and modify the object on which they'r
egoroff_w [7]

Answer:

C

Explanation:

Predicate methods typically test a condition and do not modify the object on which they're called.

3 0
3 years ago
The ____ statement can be used to eliminate the use of certain (flag) variables.
Juli2301 [7.4K]

The break statement can be used to eliminate the use of certain (flag) variables.

<h3>What is break statement?</h3>

A break statement is used to terminate the execution of the nearest enclosing for, do, switch, or while statement in which it appears.

The main purpose of break statement is to destroy the loop as soon as possible. For example if the given code asks a use input a integer number x. If x is divisible by 5, the break statement is executed and this causes the exit from the loop.

The advantage of break statement is it stops the case testing inside the block and break may be used within loops to alter control flow.

Therefore, the break statement can be used to eliminate the use of certain (flag) variables.

Learn more break statement here:

brainly.com/question/15082759

#SPJ4

8 0
2 years ago
When describing the pattern in the wallpaper, Gilman writes, "You think you have mastered it...but it turns a back somersault an
Anarel [89]

Answer:

Yellow wallpaper Quote Analysis

4 0
3 years ago
Other questions:
  • Which characteristic would be best for a person seeking a career in the Telecommunications pathway?
    15·1 answer
  • A ____ instruction copies data bits to storage locations and can copy data between any combination of registers and primary stor
    11·1 answer
  • Write a program that prints the U.S. presidential election years from 1792 to present day, knowing that such elections occur eve
    9·1 answer
  • Which statement is false? Select one: a. A class is to an object as a blueprint is to a house. b. Classes are reusable software
    5·1 answer
  • Beyond adding equations, what else does the Insert Equation feature allow users to do?
    7·1 answer
  • PLEASE HELP THIS WAS DUE YESTERDAY AND I DIDN'T GET TO IT IN TIME!!!!!!
    8·1 answer
  • Do you think lossy compression formats will be popular in 20 years? Why or why not?
    10·1 answer
  • Which HTML tag is formatted correctly?
    7·1 answer
  • Please Help ASAP. Marking Brainliest For Correct Answer.
    5·1 answer
  • Which block in this module represents the variable?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!