Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

#include<stdio.

h>
#include<conio.h>
#include<math.h>
main()
{
float raiz,root,norma,theta;
int i;

printf("Indtroduzca Cuantas raices quiere obtener ");


scanf("%f",&raiz);
printf("Introduzca la Norma del Complejo ");
scanf("%f",&norma);
printf("Introduzca el argumento en GRADOS ");
scanf("%f",&theta);
system("cls");
i=0;
root=pow(norma,(1/raiz));
while(i<=raiz-1)
{
printf("\n%.2fcis%.2f",root,(theta+360*i)/
(raiz));
i=i+1;
}
getch();
}

You might also like