Explain decision Making and Looping in Java Language?
50 points (:
Answers
Answer:
Hello Mate ...!!!
Explain decision Making and Looping in Java Language?
- Decision Making and Looping:- A loop is a way of repeating lines of code more than once.
- The block of code contained within the loop will be executed again and again until the condition required by the loop is met.
There are two types of loops:
- Indeterminate
- IndeterminateDeterminate
_____________________________________
Additional Information:
The while and do-while Statements:
The while statement continually executes a block of statements while a particular condition is true.
Its syntax can be expressed as:
while (expression) {
while (expression) { statement(s)
while (expression) { statement(s)}
_____________________________________
Hope it will be helpful :)....✍️
Answer:
Decision making structures have one or more conditions to be evaluated or tested by the program, along with a statement or statements that are to be executed if the condition is determined to be true, and optionally, other statements to be executed if the condition is determined to be false.
Looping in programming languages is a feature which facilitates the execution of a set of instructions/functions repeatedly while some condition evaluates to true.