Answer:
#include <iostream>
#include <map>
using namespace std;
int main()
{
map<int, int> numbers;
cout << "Enter numbers, 0 to finish" << endl;
int number;
while (true) {
cin >> number;
if (number == 0) break;
numbers[number]++;
}
for (pair<int, int> element : numbers) {
std::cout << element.first << ": occurs " << element.second << " times" << std::endl;
}
}
Explanation:
One trick used here is not to keep track of the numbers themselves (since that is not a requirement), but start counting their occurrances right away. An STL map< > is a more suitable construct than a vector< >.
Answer:
d. "Columbus, Wisconsin"
Explanation:
mark me brainliest please
Answer:
It's C
Explanation:
Adware displays or directs the users to an advertisement, while spyware performs espionage on the computer`s activity.
Answer:
50
var X gets passed into the rectangle function, which I assume would set the x and y coordinates to what the var's have already been set to.