<p>This code finds the minimum value in an array</p>
<pre><code>int min = nums[0];
for(int i = 0; i < nums.length; i++){
if(nums[i] < min){
min = nums[i];
}
}</code></pre>
Pros:
Cons:
This code finds the minimum value in `array`
```java
for(int i = 0; i < nums.length; i++){
if(nums[i] < min){
min = nums[i];
}
}
```
Pros:
Cons:
<student>
<firstName>Willie</firstName>
<lastName>Wildcat</lastName>
<wid>8888888</wid>
<degreeProgram>BCS</degreeProgram>
</student>
Pros:
Cons: