c++ program to display the pattern A AB ABC

April 26, 2011 at 20:20:56
Specs: Windows 7
C++ program to display the pattern
A
A B
A B C
A B C D
A B C D E

See More: c++ program to display the pattern A AB ABC

Report •


#1
April 27, 2011 at 03:35:54
#include <iostream>
int main() {
  std::cout << "A\nA B\nA B C\nA B C D\nA B C D E\n";
}

I can still use this, right? It isn't overplayed yet?

How To Ask Questions The Smart Way


Report •

#2
April 27, 2011 at 10:27:18
I thought the OP posted a "how to..." what a let down.

Report •

#3
June 30, 2011 at 06:26:58
for(i=65;i<=69;i++)
{
for(i=65,j<=i;j++)
{
cout<<(char)j;
}

Report •

Related Solutions


Ask Question