在"灯笼阵列生成器"中,需打印一个5行5列的方阵,每行输出"🏮"符号。以下哪段代码能正确实现?
for(int i=0; i<5; i++) {
for(int j=0; j<5; j++)
cout << "🏮";
cout << endl;
}
for(int i=0; i<5; i++) cout << "🏮" * 5 << endl;
for(int i=0; i<5; i++) { for(int j=0; j<5; j++) cout << "🏮"; cout << endl; }
cout << "🏮" * 25;
A 和 B 均可