Red de conocimiento informático - Conocimiento sistemático - Código del solicitante#define PI 3.1415926 #include #include usando el espacio de nombres std; int days_of_month_1[]={31,28,31,30,31,30, 30,31,31,30,31,30,31}; int días_del_mes_2[]={31,29,31,30,31,30,31,31,30,31,31,31,30,31}; long double h=-0.cout<< "Ingrese la fecha (formulario: 2009 03 10):"<>c[i]; }//fecha de entrada void input_glat(int c[]){ int i; cout<< "Latitud de entrada (rango: 0°- 60°, forma: [..: 0°- 60°, forma: 40 40 40 ( representando 40°40′40″)):"<>c[i]; } }}//Ingrese latitud void input_glong(int c[ ] ){ int i; cout<< "Ingrese longitud (la longitud oeste es un número negativo): 40 40 40 (que representa 40°40′40″)):"<>c[i];} }.}//Ingrese longitud int año_salto(int año){ if(((año%400==0) ||(año%100!=0) && (año% 4 ==0)))) return 1; else return 0 } // Determina si es un año bisiesto.

Código del solicitante#define PI 3.1415926 #include #include usando el espacio de nombres std; int days_of_month_1[]={31,28,31,30,31,30, 30,31,31,30,31,30,31}; int días_del_mes_2[]={31,29,31,30,31,30,31,31,30,31,31,31,30,31}; long double h=-0.cout<< "Ingrese la fecha (formulario: 2009 03 10):"<>c[i]; }//fecha de entrada void input_glat(int c[]){ int i; cout<< "Latitud de entrada (rango: 0°- 60°, forma: [..: 0°- 60°, forma: 40 40 40 ( representando 40°40′40″)):"<>c[i]; } }}//Ingrese latitud void input_glong(int c[ ] ){ int i; cout<< "Ingrese longitud (la longitud oeste es un número negativo): 40 40 40 (que representa 40°40′40″)):"<>c[i];} }.}//Ingrese longitud int año_salto(int año){ if(((año%400==0) ||(año%100!=0) && (año% 4 ==0)))) return 1; else return 0 } // Determina si es un año bisiesto.

// Determinar si es un año bisiesto: si es un año bisiesto, devuelve 1; si no, devuelve 0 int días(int año, int mes, int fecha){ int i,a=0; ;i