Answer:
#include <iostream>
#include <vector>
using namespace std;
int main() {
const int NUM_GUESSES = 3;
vector<int> userGuesses(NUM_GUESSES);
int i = 0;
int uGuess = 0;
for(i = 0; i <= userGuesses.size() - 1; i++){
cin >> uGuess;
userGuesses.at(i) = uGuess;
}
cout << endl;
return 0;
}
Explanation:
First inbuilt library were imported. Then inside the main( ) function, 3 was assigned to NUM_GUESSES meaning the user is to guess 3 numbers. Next, a vector was defined with a size of NUM_GUESSES.
Then a for-loop is use to receive user guess via cin and each guess is assigned to the vector.
So that we do not contaminate it with microorganisms or garbage or other human stuff.
I have absolutely no clue
Answer: I think it’s 20cm.
Answer: Heterogeneous mixture - the parts are not uniformly mixed.
A mixture contains components having distinct chemical properties. There are two types of mixtures: homogeneous and heterogeneous. In a homogeneous mixture there is uniform distribution of components. we cannot distinguish one portion of the mixture from another. for example salt mixed in water. In heterogeneous mixture, the components are not uniformly mixed. hence, we are able to distinguish different parts of a mixture, like the mixture of iron, sand and salt given in this question.