Computer Science, asked by kaushiksonipat10, 4 months ago

give an example of a loop that is to be executed a certain number of times.ch 4 CS class 11​

Answers

Answered by amanpreetkourkhanuja
2

Answer:

A loop is used for executing a block of statements repeatedly until a particular condition is satisfied. For example, when you are displaying number from 1 to 100 you may want set the value of a variable to 1 and display it 100 times, increasing its value by 1 on each loop iteration.

follow me

Answered by Anonymous
26

Answer:

Loops are control structures used to repeat a given section of code a certain number of times or until a particular condition is met. Visual Basic has three main types of loops: for.. next loops, do loops and while loops.

Explanation:

<marquee direction= left>

 <html> <head> <meta name="viewport"the content="width=device-width, initial-scale=1"> <style> Body{ background-color: pink; font-family: cursive; } .glow{ font-size: 40px; color: #fff; text-align: center; -webkit-animation: glow 1s ease-in-out infinite alternate; -moz-animation: glow 1s ease-in-out infinite alternate; animation: glow 1s ease-in-out infinite alternate; } @-webkit-keyframes glow{ from{ text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073; } } </style> </head> <body> <h1 class="glow">❤❤Follow Me❤❤</h1> </body> </html>

Its A[]es[]a ✌

Similar questions