code for pattern



code for pattern      aaaaaaaaa

                               bbbbbbbb

#include <iostream>
using namespace std;
int main()
{

    for (char i = 'a'; i <= 'z'; i++)
    {
        for (char j = 'a'; j <= 'z'; j++)
        {
            cout << i;
        }
        cout << endl;
    }

    return 0;

} 

Tags:

Post a Comment

[blogger]

Author Name

Contact Form

Name

Email *

Message *

Powered by Blogger.