Print a hollow rectangle star with the help of nested loop
Apr 1, 2023 · 1 min read · import java.util.Scanner; /** * Link4 */ public class Link { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("enter a number"); int n = sc.nextInt(); System.out...
Join discussion































