import java.util.Scanner;
public class U2_L3_Activity_Four {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("Enter a sentence.");
        String sent = scan.nextLine();
        int count = 0;
        for (int i = 0; i < sent.length(); i++){
            char c = sent.charAt(i);
            if (c != ' '){
                count++;
        }
            else{
                break;
            }
        
    }
        System.out.println("The first word is " + count +" letters long");
    
    }
}
We check to see when the first space occurs in our string and we add one to our count variable for every letter before that. I hope this helps!
 
        
             
        
        
        
Answer:
DM me I have an answer set up but it won't let me here because it's "too long" hope to here back from you! (sorry about this Brainly has been acting up on me lately!!!!!)
Explanation:
 
        
             
        
        
        
I am not 100% on this but i think you would want a Large depth of field. 
        
                    
             
        
        
        
All of the conditions of the elif statement are true. numA does equal 2 and numB does equal 3. 
The output of this program is no. 
 
        
             
        
        
        
Answer:
B and C
Explanation:
Possible solution to solving "BOOTMGR is missing" error in Windows Vista is to use the Windows Recovery Environment.
Another option is to run "bootrec/fixboot" command from the comman prompt and the command prompt is also accessible from the windows recovery environment.