proj/proj0/NBody.java
public static double readRadius(String dir) {
        In in = new In(dir);

        int N = in.readInt();
        double R = in.readDouble();
        return R;
    }
/** Query a double corresponding to the radius of the universe in that file.
        Args:
            dir(String): Directory path to txt file.
        Returns:
            R(double): Radius of the universe in that file
    */
Query a double corresponding to the radius of the universe in that file.
Args:
dir(String): Directory path to txt file.
Returns:
R(double): Radius of the universe in that file
Query a double corresponding to the radius of the universe in that file . Args : dir ( String ) : Directory path to txt file . Returns : R ( double ) : Radius of the universe in that file
public static double readRadius(String dir) {
        In in = new In(dir);
        int N = in.readInt();
        double R = in.readDouble();
        return R;
    }
public static double readRadius ( String dir ) { In in = new In ( dir ) ; int N = in . readInt ( ) ; double R = in . readDouble ( ) ; return R ; }
Query a double corresponding to the radius of the universe in that file.
Query a double corresponding to the radius of the universe in that file .