Answer:
C. Mean
Explanation:
Mean = (∑
)/N
Median = central values when data is sorted
Mode = most repeated value
Standard deviation = 
In standard deviation, formula you may see that deviation is being calculated from the mean (central location). But here we take square of the value before adding all of them.
But if we just take
, it would be equal to zero.
<u>EXAMPLE</u>
Take 4, 9, 5 as data
mean = (4+9+5)/3 = 18/3 = 6
sum of deviations from mean = (4-6)+(9-6)+(5-6) = (-2)+(3)+(-1) = 0
Answer:
#include <iostream>
using namespace std;
void PrintPopcornTime (int bagOunces){
if (bagOunces < 2){
cout << "Too small"<<endl;
}
else if (bagOunces > 10){
cout << "Too large"<<endl;
}
else{
cout << bagOunces*6 <<" seconds"<<endl;
}
}
int main(){
PrintPopcornTime(7);
return 0;
}
Explanation:
Create a function called PrintPopcornTime that takes one parameter, bagOunces
Check the bagOunces using if-else structure. If it is smaller than 2, print "Too small". If it is greater than 10, print "Too large". Otherwise, calculate and print 6*bagOunces followed by " seconds".
Call the function in the main function with parameter 7. Since 7 is not smaller than 2 or not greater than 10, "42 seconds" will be printed.
It's evening................∆
def CountVowels(epsilon):
countNum = 0
for x in range(len(epsilon)):
letter = epsilon[x]
if letter.lower() in "aeiou":
countNum += 1
return countNum
def ExtractOdds(zeta):
result = ""
for x in range(len(zeta)):
if x % 2 == 1:
result += zeta[x]
return result
sentence_A = input("Enter a sentence: ")
sentence_B = input("Enter a sentence: ")
print(CountVowels(sentence_A))
print(ExtractOdds(sentence_B))
I hope this helps!
Answer: $420
Explanation: from the question above, mercy worked 42 hours at $10 an hour. Her total pay before tax is: 42 x 10 =
$420