You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
379 B
15 lines
379 B
import java.io.*;
|
|
|
|
public class Raw {
|
|
public static void main(String[] args){
|
|
String filename="w7/Score.txt";
|
|
int sum=0;
|
|
int count=0;
|
|
BufferedReader br=new BufferedReader(new FileReader(filename));
|
|
String line;
|
|
while((line= br.readLine())!=null){
|
|
sum+=Integer.parseInt(line);
|
|
count++;
|
|
}
|
|
}
|
|
}
|
|
|