| |

VerySource

 Forgot password?
 Register
Search
View: 816|Reply: 5

What does iteration mean?

[Copy link]

1

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-2-12 23:30:02
| Show all posts |Read mode
While reading a book, I saw a sentence,
Use a foreach loop to iterate over the words in this array and write the words to the console,
What does this sentence mean?
But when I see this "iterative" word, I feel strange, I don't know what it means. .
Can someone make a solid sense of iteration? ? Thank you. .
Reply

Use magic Report

0

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-4-10 16:15:01
| Show all posts
Traversal iteration
Reply

Use magic Report

0

Threads

9

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-4-10 17:15:02
| Show all posts
"Iterative method", also known as "rolling method", is a process of recursively recalculating new values ​​from old values ​​of variables.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-4-10 19:30:01
| Show all posts
Traverse
Reply

Use magic Report

1

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 Invalid IP Address

 Author| Post time: 2020-4-10 23:15:01
| Show all posts
understand. Thank you friends upstairs
Reply

Use magic Report

0

Threads

13

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 Singapore

Post time: 2020-4-11 07:45:01
| Show all posts
Iterative algorithm is a basic method for solving problems with computer. It takes advantage of the computer's fast computing speed and suitable for repetitive operations, allowing the computer to repeatedly execute a group of instructions (or certain steps), and each time the group of instructions (or these steps) is executed, the original value of the variable is used. Launch a new value for it.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list