Answer:
C++.
Explanation:
<em>Code snippet.</em>
#include <map>
#include <iterator>
cin<<N;
cout<<endl;
/////////////////////////////////////////////////
map<string, string> contacts;
string name, number;
for (int i = 0; i < N; i++) {
cin<<name;
cin<<number;
cout<<endl;
contacts.insert(pair<string, string> (name, number));
}
/////////////////////////////////////////////////////////////////////
map<string, string>::iterator it = contacts.begin();
while (it != contacts.end()) {
name= it->first;
number = it->second;
cout<<word<<" : "<< count<<endl;
it++;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////
I have used a C++ data structure or collection called Maps for the solution to the question.
Maps is part of STL in C++. It stores key value pairs as an element. And is perfect for the task at hand.
My answer is D. All the above :)
Answer:
The rank of disk capacities in decreasing order is:
1.petabyte,
2.terabyte
3.gigabyte
4.megabyte
5.kilobyte
Explanation:
Petabyte is largest among all and 1 petabyte equal to 1024 terabyte
Kilobyte is smallest among all and 1 kilobyte equal to 1024 byte
1 megabyte is equal to 1024 kilobyte
1 gigabyte is equal to 1024 megabyte
1 terabyte is equal to 1024 gigabyte
Answer:
you may need to do this if you need to play video game that may need you to update drivers
Answer:
Broadcast topology is defined as each host exchange data or information with other hosts in a network medium. It works on the principle of logical topology. As, it determines across the medium how hosts communicate in a network.
Types-
- Star
- Mesh
- Point to point
- Ring
- Tree
- Hybrid