hi, here's the question
Write a C++ program that takes 2 characters (c and d), and a positive integer (n) and outputs the following
drawing of size n n made of the characters c and d, as shown below:
Enter two characters and an integer: # _ 6
#_#_#_
_#_#_#
#_#_#_
_#_#_#
#_#_#_
_#_#_#
Press any key to continue . . .
here's what did:
#include <iostream>
using namespace std;
int main()
{
int n;
char c, d;
cout << "Enter two characters and an integer: " << flush;
cin >> c >> d >> n;
If anyone could help me..thanks...