Raices literarias reales

struct s_Punto{  

       float punX;

       float punY;

};

typedef struct s_Punto Punto;

typedef struct s_Punto *pPunto;

void LeerPunto(pPunto p) {

     float x,y;

     printf("Ingrese la coordenada x:");scanf("%f",&x);

     printf("Ingrese la coordenada y:");scanf("%f",&y);

     p->punX=x;

     p->punY=y;

                                      }

void PresentarPunto(Punto p) {

     printf("Las coordenadas son...

See on Wikiteka »

Raices literarias reales

#include

#include

struct s_TemperaturaDia {

       int min;  // Temperatura mínima

       int max;  // Temperatura máxima

      };

typedef struct s_TemperaturaDia TemperaturaDia;

typedef struct s_TemperaturaDia *pTemperaturaDia;

struct s_TemperaturaSemana {

       TemperaturaDia dia[7];  // Primer dia de la semana, indice 0

             };

typedef struct s_TemperaturaSemana TemperaturaSemana;

typedef struct s_TemperaturaSemana *pTemperaturaSemana;

void LeerTemperaturaDia(...

See on Xuletas »