0
How can i by way of a for loop, print each letter of the alphabet 23 times on a row in c++
C++
2 ответов
+ 3
for(int i=0;i<26;i++)
{
for(int j=0;j<23;j++)
cout<<char(65+i);
cout<<endl;
}
0
for (char c = 'a'; c != 'z'; ++c)
{
for (short i = 0; i != 23; ++i)
cout << c;
cout << endl;
}