#include <stdio.h>
#include <math.h>
#include <stdlib.h>
typedef struct complex{
float re;
float im;
}COMPLEX;
int main(void){
float x,y;
printf("複素数の虚部と実部を入力してくださ");
scanf("%f",&x);
scanf("%f",&y);
printf("絶対値=%f\n偏角=%f\n"zettaichi, henkaku);
return 0;
}
void polar_form
float zettaichi;
float henkaku;
float A,B;
A=pow(x,2);
B=pow(y,2);
zettaichi=sqrt(A+B);
henkaku=y/x;
起動できませんmainの中で絶対値と偏角を表示するプログラムです