22 lines
415 B
C
22 lines
415 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <math.h>
|
|
int main(void){
|
|
struct crocs{
|
|
double x;
|
|
double y;
|
|
double i = sqrt(-1);
|
|
double z = x+y*i;
|
|
}
|
|
double val1;
|
|
double val2;
|
|
double res;
|
|
double eee;
|
|
printf("Donnez une valeur : ");
|
|
scanf("%f", &val1);
|
|
printf("Donnez une deuxième valeur : ");
|
|
scanf("%f", &val2);
|
|
struct crocs cars = {val1;val2;eee;res}
|
|
printf("%f", res);
|
|
return EXIT_SUCCESS;
|
|
} |