Is it possible to multiply a char by an int?
For example, I am trying to make a graph, with *\'s for each time a number occurs.
So something like, but this d
//include iostream and string libraries using namespace std; int main() { for (int Count = 1; Count <= 10; Count++) { cout << string(Count, '+') << endl; } for (int Count = 10; Count >= 0; Count--) { cout << string(Count, '+') << endl; } return 0;
}