Calculate the weighted average of a list of n numbers using
the formula
xavg = f1x1+f2x2+ ….+ fnxn
where the f’s are fractional weighting factors, i.e.,
0<=fi<1, and f1+f2+….+fn = 1
No Answer is Posted For this Question
Be the First to Post Answer
How do you determine the length of a string value that was stored in a variable?
extern static int i func() { i =10; i++; printf("%d \n",i); } main() { i =20; printf("%d \n",i); func(); printf("%d \n",i); }
plz let me know how to become a telecom protocol tester. thank you.
What is the purpose of sprintf() function?
how to find a 5th bit is set in c program
How to write a code for random pick from 1-1000 numbers? The output should contain the 10 numbers from the range 1-1000 which should pick randomly, ie ,for each time we run the code we should get different outputs.
What does emoji p mean?
formula to convert 2500mmh2o into m3/hr
void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?
What are qualifiers and modifiers c?
how can I convert a string to a number?
What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.