Fixed Rocket icon for "Run Code". (#26583)
This commit is contained in:
committed by
The Coding Aviator
parent
6c0819acdf
commit
e47ae0f660
@@ -37,7 +37,7 @@ for (int i = 0; i < 10; i++)
|
||||
}
|
||||
```
|
||||
|
||||
 <a href='https://repl.it/CJZA/0' target='_blank' rel='nofollow'>Run Code</a>
|
||||
 <a href='https://repl.it/CJZA/0' target='_blank' rel='nofollow'>Run Code</a>
|
||||
|
||||
`break` statements can be particulary useful while searching for an element in an array. Using `break` in the following code improves efficiency as the loop stops as soon as the element we are looking for (`searchFor`) is found, instead of going on till the end of `arrayInts` is reached.
|
||||
|
||||
@@ -71,4 +71,4 @@ while(i < 10){
|
||||
}
|
||||
```
|
||||
|
||||
 <a href='https://repl.it/CJZC/0' target='_blank' rel='nofollow'>Run Code</a>
|
||||
 <a href='https://repl.it/CJZC/0' target='_blank' rel='nofollow'>Run Code</a>
|
||||
|
Reference in New Issue
Block a user