This is a simple programming, but I never really got how to do this.

I'm trying to get the sum of the squares of a,b,c,d, and e, then square root that answer, but I never knew where to put the doubles and where not to (I always deleted, test, deleted, test, etc.). Can someone help me please? Much thanks!Code:printf("Enter 5 doubles: "); scanf("%lf %lf %lf %lf %lf", &a, &b, &c, &d, &e); printf("v[] = {%11.3lf %11.3lf %11.3lf %11.3lf %11.3lf}\n\n", a,b,c,d,e); length = double sqrt((double pow(double a,2) + double pow(double b,2) + double pow(double c,2) + double pow(double d,2) + double pow(double e, 2)));