Answer:
import java.io.*;
import java.util.Scanner;
public class CountWordsInFile {
public static void main(String[] args) throws IOException {
Scanner keyboard = new Scanner(System.in);
System.out.print("Enter file name: ");
String fileName = keyboard.next();
File file = new File(fileName);
try {
Scanner scan = new Scanner(file);
int count = 0;
while(scan.hasNext()) {
scan.next();
count += 1;
}
scan.close();
System.out.println("Number of words: "+count);
} catch (FileNotFoundException e) {
System.out.println("File " + file.getName() + " not present ");
System.exit(0);
}
}
}
Answer:
BE SAFE
Explanation:
it stands for Burns, Electrocution, Shock, Arch Flash/Arc Blast, Fire, Explosions
Answer:
Computer programming for three dimensional designs
Explanation:
- Doll is not a 2D creation . it's a 3D creation
- So on creating the design on 3D scale it's more effective to determine what can be added more.
Answer:
I am in 6th grade, why are high school things popping up??
Explanation:
Answer:
Throat diameter
=28.60 mm
Explanation:
Bore diameter
⇒
Manometric deflection x=235 mm
Flow rate Q=240 Lt/min⇒ Q=.004
Coefficient of discharge
=0.8
We know that discharge through venturi meter


=13.6 for Hg and
=1 for water.

h=2.961 m
Now by putting the all value in



⇒
=28.60 mm
So throat diameter
=28.60 mm