Title Normalizing Angles
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-bj-4-fundat-101
Platform Name CodeCheck
Features Code Completion
Description When you work with angle measurements, you often want them normalized or converted into the range between 0 . . . 359 degrees. Write a method normalize that takes an angle of any size (positive or negative) and normalizes it. For example, normalize(380) should return 20, and normalize(-30) should return 330.
Keywords Fundamental Data Types
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-bj-4-fundat-101
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language Java
Natural Language en

Preview

SPLICE Output