#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define LATITUDE -12.345 // Degrees east of the meridian.
#define LONGITUDE -67.890 // Degrees north of the equator.
#define ALTITUDE 5200 // Metres above sea level.
int main(
int argc,
char *argv[]) {
double jd_ut, jd_ut1, jd_tt, last, ra, dec, dist, alt, az;
&dist);
printf("JD (UT1) = %.5f, JD (TT) = %.5f, LAST = %.5f degn", jd_ut1, jd_tt,
last);
printf(
"Apparent ra/dec of Mars = " ae_hms_fmt ", " ae_dms_fmt
"n",
printf("Az/alt of Mars = " ae_dms_fmt ", " ae_dms_fmt "n",
return 0;
}