The problem that you think could be addressed by using video games is financial management skills.
<h3>What problem does gaming handles?</h3>
A lot of Scientific research have seen that video games improve people's creativity and also their skill in terms of problem-solving skills.
Note that it can also help to improve financial management skills and also make people to have stable jobs and good source of income.
Learn more about video games from
brainly.com/question/8870121
When you don’t know who or what that is, and I pop- lol I need a life
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;
}