Trying to get an outcome that looks like this..
What I'm getting is this...
compiles ok, but as you can see it places the # after each ? rather than grouping them together, and it neglects to count back down.
Don't want to have my homework done for me, just want an idea where to look for the trouble. head spinning.
using namespace std;
int main(int argc, char *argv)
char bend = '#';//#@ beginning and end
char cues = '?';
int n,x,y ;
cout <<"Please enter number of ?'s :";
cin >> n;
cout<< bend<< endl;
cout<< cues <<bend;
cout<< cues << bend;
cout<< bend << endl;
any help would be greatly appreciated