diff --git a/alphabets pattern.cpp b/alphabets pattern.cpp new file mode 100644 index 0000000..877df5b --- /dev/null +++ b/alphabets pattern.cpp @@ -0,0 +1,23 @@ +#include + +using namespace std; + +int main() { + int n; + cin >> n; + int row = 1; + while(row<=n) { + int col = 1; + char ch = 'A' + row - 1; + while(col<=n) { + + cout<< ch; + ch = ch +1; + + col = col + 1; + } + cout<