34 lines
546 B
C
34 lines
546 B
C
struct complexe {
|
|
float Re;
|
|
float Im;
|
|
};
|
|
|
|
struct complexe saisir_complexe();
|
|
|
|
void affiche_complexe(struct complexe);
|
|
|
|
struct complexe conjuge(struct complexe);
|
|
|
|
struct complexe oppose(struct complexe);
|
|
|
|
struct complexe inverse(struct complexe);
|
|
|
|
float module(struct complexe);
|
|
|
|
float argument(struct complexe);
|
|
|
|
struct complexe add_complexe(
|
|
struct complexe,
|
|
struct complexe
|
|
);
|
|
|
|
struct complexe mult_complexe(
|
|
struct complexe,
|
|
struct complexe
|
|
);
|
|
|
|
struct complexe div_complexe(
|
|
struct complexe,
|
|
struct complexe
|
|
);
|