NormalizeAngle.java 325B

123456789101112131415161718
  1. import java.util.Scanner;
  2. public class NormalizeAngle {
  3. public Integer normalizeValueUsingModulo(Integer angle){
  4. return angle % 360;
  5. }
  6. public Integer normalizeValueUsingFloorMod(Integer integer){
  7. return Math.floorMod(integer, 360);
  8. }
  9. public static void main(String[] args){
  10. }
  11. }