#include<stdio.h>
#include<stdlib.h>
#include<math.h>

int main()
{
	const float Rterre = 1, Tterre = 365;
	const float Kepler = Tterre * Tterre / (Rterre * Rterre * Rterre);
	float R, T;
	
	printf("La periode de revolution en jours : ");
	scanf("%f",&T);
	
	R = exp(log(T * T / Kepler) / 3);
	
	printf("Le rayon de l'orbite est : %f UA.\n", R);
	
	//system("pause");            //arreter l'execution
	return 0;
}
