Answer:
it stores the largest value in list (the maximum) in foo
Explanation:
Initially foo is assigned as the first element of the list
Inside the loop, every element in the list will be compared with foo, starting from the second element. If an element is greater than foo, the new value of the foo will be that element. At the end of the loop, foo will be equal to the largest element in the list.
 
        
             
        
        
        
Answer:
it trojan
Explanation:
what is the question asking 
 
        
                    
             
        
        
        
With this you just have to think about what do different shoes do and why? For example, track shoes need to be extremely light to make it so the runners don't need to move excess weight to accelerate faster whereas basketball shoes can be heavier because they need high ankle coverage for more ankle support during moves like the crossover. Then the key factors that I would do personally are: difficulty to produce, benefit to athlete, cost to athlete, weight, and support. My advice would be to systematically go through a bunch of sports and talk about each of their shoes...
        
             
        
        
        
Answer:
Explanation:
The following code is written in Java and loops through 10 times. Each time generating 2 random dice rolls. If the sum is 10 it breaks the loop and outputs a "You Win" statement. Otherwise, it outputs "You Lose"
import java.util.Random;
class Brainly {
    public static void main(String[] args) {
        UseRandom useRandom = new UseRandom();
        boolean youWin = false;
        for (int x = 0; x<10; x++) {
            int num1 = useRandom.getRandom(6);
            int num2 = useRandom.getRandom(6);
            if ((num1 + num2) == 10) {
                System.out.println("Number 1: " + num1);
                System.out.println("Number 2: " + num2);
                System.out.println("You Win");
                youWin = true;
                break;
            }
        }
        if (youWin == false) {
            System.out.println("You Lose");
        }
    }
}
class UseRandom{
    public int getRandom(int n)
    {
        Random r=new Random();
        int rand=r.nextInt(n);
        return rand;
    }}