10 basic pattern printing questions in Java you should know!
Question 1 : ( Filled rectangle )
Print The following pattern :
**********
**********
**********
Input :
import java.util.Scanner;
public class p1 {
public static void main(String[] args) {
Scanner sc =new Scanner(System.in);
Sy...
rahuldutta.hashnode.dev4 min read
LOKESH GHOSH
Insightful