Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 671 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 671 Bytes

MathUtils

The MathUtils program is a math function packaging tool class for Java programs. This experiment is mainly aimed at testing the gcd(int,int) method in the MathUtils program. The main function of the gcd(int,int) method is to calculate the greatest common divisor of two integers.

  1. Input specifications
Inputs Types Limits Description
p int Integer
q int Integer
  1. Output specifications

    The output parameter is the greatest common divisor m of p and q, and the type is int.

  2. Description of MRs