DMS stands for "Degrees Minutes Seconds". This command will convert a value into degrees, minutes, and seconds. Minutes and seconds are fractional parts of a degree.
The above program will ask the user to input a value, and it will display the value in degrees, minutes, and seconds. For example, if the user inputs 16.387064, the program will display 16°23'13.43".