Home > Back-end >  The small white C
The small white C

Time:10-07

Want to ask the great spirit within 10 odd square root of sum of squares of C
Crying has been run error!!!!!!

CodePudding user response:

For example
int sum=0;
For (int I=1; I & lt; 10; I +=2)
The sum +=I * I;
Double q=SQRT (sum);
Printf (" % lf \ n ", q);

CodePudding user response:

reference 1st floor qybao response:
for example
int sum=0;
For (int I=1; I & lt; 10; I +=2)
The sum +=I * I;
Double q=SQRT (sum);
Printf (" % lf \ n ", q);

Can you give me a complete code, a great god!

CodePudding user response:

Can you put the main go ah
 # include & lt; math.h> 
Int main (int arg c, const char * argv []) {
int sum=0;
For (int I=1; I & lt; 10; I +=2)
The sum +=I * I;
Double q=SQRT (sum);
Printf (" % lf \ n ", q);
return 0;
}

CodePudding user response:

Ok thank you bosses
  • Related