Answer:
This page is so that we can ask something and help each other with those questions or school or university assignments
Explanation:
Answer:
a)None
b)All
this is ur answer from my opinion
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!
Typically the contact details for the firm would be at the bottom of the flyer.
This is to allow room for the main event itself to be advertised in top and central area of the flyer real-estate.
Shut down your computer and try again.