0
#include <iostream>

using namespace std;

int main()

{
    {
    int count;
    int innercount;
    count = 1;
    while (count <=1)
    {
          innercount = 1;
    while (innercount <= (12 - count) /2)
    {cout << " ";
    innercount++;
}
innercount = 1;
while (innercount <= count)
{
      cout << "@";
innercount++;
}
cout << endl;
count++;
}
return 0;

}
system("pause");
}

So I'm a bit of noob at this code, but I thought putting system("pause"); at the end would let me see it for more than a split second. What should I change?

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by Sohvkhan
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.