Skip to content
View andysanr's full-sized avatar

Block or report andysanr

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Popular repositories Loading

  1. GreatCircle GreatCircle Public

    Takes 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

  2. RightTriangle RightTriangle Public

    Program RightTriangle takes three int command-line arguments and determines whether they constitute the side lengths of some right triangle.

    Java

  3. CMYKtoRGB CMYKtoRGB Public

    Takes 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

  4. GeneralizedHarmonic GeneralizedHarmonic Public

    Takes two integer command-line arguments n and r and uses a for loop to compute the nth generalized harmonic number of order r

    Java

  5. BandMatrix BandMatrix Public

    Takes 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

  6. RandomWalker RandomWalker Public

    Takes 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