I am quite a newbie in C++.
I encountered a following problem and do not know how to solve it. Please help me write the code or pseudocode.
Angles are often measured in degrees (°), minutes ('), and seconds ("😉. There are 360 degrees in a circle, 60 minutes in one degree, and 60 seconds in one minute. Write a program that reads two angular measurements given in degrees, minutes, and seconds, and then calculates and displays their sum. Use the program to verify the following:
74°29'13'' + 105°8'16" = 179°37'29"
122°17'48" + 237°42'12" = 0°0'0"
Thank very much for your kind help and direction!!
I encountered a following problem and do not know how to solve it. Please help me write the code or pseudocode.
Angles are often measured in degrees (°), minutes ('), and seconds ("😉. There are 360 degrees in a circle, 60 minutes in one degree, and 60 seconds in one minute. Write a program that reads two angular measurements given in degrees, minutes, and seconds, and then calculates and displays their sum. Use the program to verify the following:
74°29'13'' + 105°8'16" = 179°37'29"
122°17'48" + 237°42'12" = 0°0'0"
Thank very much for your kind help and direction!!