programming C C++ CPP sundials sun dials
SUNDIAL PROGRAMS IN COBOL

There is no serious intent for these to be practical dial programs, the
ATAN function has issues for a start, and for another, COBOL is just
not commonly used on PCs. The COBOL programs are only for fun,
and for legacy reasons.

Similarly, I have a good IBM 1401 simulator, and will probably write
an h-dial program in autocoder, using table lookup for ATAN,
however, the reasons are the same, namely to honor the ancient
legacy systems. Yes, I did program the IBM 1401 in the days of way
back when.
An IDE COBOL compiler was here, it ran these programs, but would time out unless you purchased a license. It
seems no longer to be available. It was called
KOBOL   
H-DIAL SUNDIAL PROGRAMS IN COBOL

Cobol H-dial with the general full algorithm using iteration
COBOL-hDial-series.cob

Cobol H-dial using inbuilt trig functions note that angles are better
than using my iterative trig series
COBOL-hDial-functions.cob

KOBOL notes on usage are here.
C O B O L
download Programming Shadows, it
is free, and has many hints to get you
up to speed on many languages