<u>Some recommend way to prove the authenticity of an email:</u>
- The coworker as truthful to the company or organization he or she has to check where the same mail is sent long back to the same sender.
- If search on emails sent item if he sends it will be well and good. Some time backup the mail will be help to proven authenticity of an email.
- Sometimes once mail is downloaded into ms-outlook or lotus domino some time mail persists in the mail server.
- He or she can coordinate with the mail server administrator to possible get a log file of sending mail and he can proceed as a record to management.
Yes, mobile devices have to work in limited screen space.
Answer:
see explaination
Explanation:
import java.io.*;
import java.util.Scanner;
public class Winners {
public static void main(String args[]) throws IOException {
Scanner sc = new Scanner(new File("WorldSeriesWinners.txt"));
String commands[] = new String[100000];
int c = 0;
while (sc.hasNextLine()) {
String input = sc.nextLine();
System.out.println(input);
if (input.isEmpty())
continue;
commands[c++] = input;
}
sc.close();
Scanner keyboard = new Scanner(System.in);
System.out.println("Enter the name of a team: ");
String name = keyboard.nextLine();
int count = 0;
for (int i = 0; i < c; i++) {
if (commands[i] != null) {
if (commands[i].equals(name)) {
++count;
}
}
}
if(count!=0)
System.out.println(name + " has won the World Series in the time period from 1903 through 2018 " +count + " number of times" );
else
System.out.println("Team with name "+name+ " does not exists");
}
}