The answer to this question is B
Marx and Engels identified two social classes: the exploiters who possess the means of production and exploited who must do all the work.
<h3>What is a Social class?</h3>
A social class is known to be a kind of a grouping of people and it is one that is made where people are said to be shared into a set of hierarchical social stages or groups.
Note that the most common are the upper, middle and lower classes. Membership in a social class is seen to be based on or dependent on education, wealth, occupation, and others.
Hence, Marx and Engels identified two social classes: the exploiterswho possess the means of production and exploited who must do all the work.
Learn more about social classes from
brainly.com/question/1065123
#SPJ1
Answer:
hope this helps!
Explanation:
#include <iostream>
#include <fstream>
using namespace std;
void print_histogram(int counter[26])
{
for(int i = 0; i < 26; ++i){
cout << (char)(i+97) << " ";
for(int j = 0; j < counter[i]; ++j){
cout << (char)254;
}
cout << endl;
}
}
int main()
{
int counter[26] = {0};
string filename = "data.txt";
char byte = 0;
// opens file in read mode
ifstream input_file(filename);
if (!input_file.is_open()) {
cerr << "Could not open the file - '"
<< filename << "'" << endl;
return EXIT_FAILURE; // exit if not opened
}
// reads every character from the file
while(input_file.get(byte)){
if(byte >= 97 && byte <= 122){
++counter[byte-97];
}
}
print_histogram(counter); // required print histogram function
return 0;
}