Computer Science, asked by ridhimakumawat, 10 months ago

a. What is the advantage of a loop?​

Answers

Answered by puja9823
6

Explanation:

Used to reduce the code effectively solve all difficult codes using loops very easily especially pattern programs .

Generally we use loops in the case of repetitive occurrence of some processes .

Thanks!!!!

plzz mark my ans. as brainliest ans.

Answered by dplincsv
6

Explanation:

The advantages of loops are

Used to reduce the code. Effectively solves all the difficult codes using loops very easily, especially pattern programs. Generally we use loops in the case of repetitive occurance of some processes. The purpose of loops is to repeat the same, or similar, code a number of times. This number of times could be specified to a certain number, or the number of times could be dictated by a certain condition being met. looping is what makes computer programming worthwhile. when you use a loop within a computer program, you can write one set of instructions that operates on multiple serperate sets of data. almost every program has a main loop. the main loop is a typical loop within it you write one set of instructions that executes repeatedly while records continue to be read from an input file. in addition to a main loop, loops appear within subroutines. they are used any time you need to performa a task several times and dont want to write identical or similar instructions over and over.the statements that execute within a loop are known as the loop body. a counter is any numeric variable you use to count the number of times an event has occured. everytime you add 1 to a variable is called incrementing the variable. decreasing a variable by one is called decremetning the variable.

Thanks

Regards

Dplincsv

Hope you understand

Please let me know if you have any questions

Please make me as brainliest ✌️✌️✌️✌️✌️✌️

Similar questions