Computer Science, asked by kyushnegi3010, 4 months ago

what is the propose of using break statement in computer​

Answers

Answered by kumar87977
5

Answer:

When a break statement is encountered inside a loop, the loop is immediately terminated and the program control resumes at the next statement following the loop. It can be used to terminate a case in the switch statement (covered in the next chapter).

Answered by assingh
10

Topic

HTML

Question

Purpose of using Break statement

Answer

Break statement is a statement used in HTML to start writing texts from next line.

Break statement gives a break to present line in which we are writing and allows us to start from next line.

If we don't use Break statement then line will not be break and your text will be in same line.

We use it in place of 'Enter' key you may say for writing HTML.

Extra Information :-

Break Statement do not require closing tag in HTML. It means we need not to close it like other tags. Only <br> is sufficient.

Similar questions