Answer:
<em>import java.util.Scanner;</em>
<em>public class ANot {</em>
<em> public static void main(String[] args) {</em>
<em> Scanner in = new Scanner(System.in);</em>
<em> System.out.println("Please enter a string of words");</em>
<em> String n = in.nextLine();</em>
<em> int count = 0;</em>
<em> for (int i=0; i<n.length(); i++){</em>
<em> if((n.charAt(i) != '.') &&(n.charAt(i) != ',') && (n.charAt(i) != ' ')){</em>
<em> count++;</em>
<em> }</em>
<em> }</em>
<em> System.out.println(count);</em>
<em> }</em>
<em>}</em>
Explanation:
- Prompt User to input the string and assign to a variable
- SET count =0.
- Using a for loop iterate over the string
- if((n.charAt(i) != '.') &&(n.charAt(i) != ',') && (n.charAt(i) != ' ')) then count =count +1.
- PRINT count.
Complete your first marathon.
Create and commit to a fitness routine.
Learn a foreign language.
Cut junk food out of your diet.
Start volunteering regularly.
Increase your emotional intelligence.
Earn a college degree.
Answer:
The correct answer is "The counter is not capable of counting hundreds of cars without exceeding the limit of the five bits of storage"
Explanation:
It is obvious the engineer did not envisage that the number of cars that will be collected in the daily data would not be so much into the hundreds and so uses a storage of 5-bit value. Hence it makes it impossible for the counter to count hundreds of car and save to the central saver since it sill definitely exceed the limit of the five bits of storage available to the central server.
Answer:
False. Cuz they work the way they are programmed, which can be like a human being, but is not exactly it. They are built this way so they work as what the user thinks. (e.g. being sure to delete a file/recommending what the user might like)
make me brainliestt :))