/*屏幕上画一个正方形输入在一行中给出正方形边长N&#xff08;3<&#61;N<&#61;20&#xff09;和组成正方形边的某种字符c 间隔一个空格输出字符c画成的正方形实际行数为列数的一半
*/import java.util.*;public class Main{public static void main(String[] args){Scanner sc &#61; new Scanner(System.in);int N &#61; sc.nextInt();String c &#61; sc.next();int row &#61; N / 2;if (N % 2 !&#61; 0) {row &#61; N / 2 &#43; 1;}if (row &#61;&#61; 2) {for (int i &#61; 0; i }