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:
C. Symptoms of malware mutation
Explanation:
They are signs that could indicate that ones system is infected by virus.
Such signs includes:
1.Slow booting or startup.
2.Low space storage.
3.Blue screen of death.
4.Slow Internet performance.
5.Sending of spam messages.
6.Disabled security.
7.Browsing error.
8.Pop-up messages.
9.Renaming of files.
10.Loss of certain files, music, messages, etc.
To use another person's work without crediting the source.
Im pretty sure you can but different schools have different rules so try contacting your guidence counselor and asking them