Popular repositories Loading
-
GreatCircle
GreatCircle PublicTakes four double command-line arguments x1, y1, x2, and y2, the latitude and longitude (in degrees) of two points on the surface of the earth—and prints the great-circle distance (in kilometers) b…
Java
-
RightTriangle
RightTriangle PublicProgram RightTriangle takes three int command-line arguments and determines whether they constitute the side lengths of some right triangle.
Java
-
CMYKtoRGB
CMYKtoRGB PublicTakes four double command-line arguments cyan, magenta, yellow, and black; computes the corresponding RGB values, each rounded to the nearest integer; and prints the RGB values
Java
-
GeneralizedHarmonic
GeneralizedHarmonic PublicTakes two integer command-line arguments n and r and uses a for loop to compute the nth generalized harmonic number of order r
Java
-
BandMatrix
BandMatrix PublicTakes two integer command-line arguments n and width and prints an n-by-n pattern, with a zero (0) for each element whose distance from the main diagonal is strictly more than width, and an asteris…
Java
-
RandomWalker
RandomWalker PublicTakes an integer command-line argument r and simulates the motion of a random walk until the random walker is at Manhattan distance r from the starting point. Prints the coordinates at each step of…
Java
If the problem persists, check the GitHub status page or contact support.