Answer:
look up this question on here it comes up but do it one-by-one
Explanation:
Mrs. Stetson, her crazy neighbor, is believed to be the murdurer. Mrs. Stetson had a record of threatening and dangerous behavior. She threatened Mrs. Huffington many times, and was said to be connected to the bombing of a famous politicians house. She was on medication to control her anger, but when Mrs. Huffington was shot, she confessed to not taking the medication. Mrs. Stetson killed Mrs. Huffington.
Answer:
I hope the picture helped
I believe the answer is C) Model.
Answer:
If the input is: 2 3 4 8 11 -1
the output is:
Middle item: 4
To explain the given is as follows,
Explanation:
Code:-
#include <iostream>
#include <vector>
using namespace std;
int main()
{
std::vector<int> v;
int temp, i=0;
cout <<"Enter the sorted elements "<<endl;
while(1){
cout<<"Enter ["<<i<<"]element"<<endl;//Accept elements in a vector
cin >> temp;
i++;
if(temp>0)
v.push_back(temp);
else //If negative number is inputed assume end of input
break;
}
cout<<"Size of a vector is:"<<v.size()<<endl; //Find size of vector
if (v.size() % 2 == 0){
cout <<"NUMBER OF ELEMENTS SHOULD BE ODD";
}
else if(v.size()>9){
cout<<"Too many numbers.";
}
else{
cout<<"Median = " << v[v.size()/2]<<endl; //Find median
}
}
Output: