Skip to content

Instantly share code, notes, and snippets.

View skashan-ali's full-sized avatar
🏠
Working from home

Kashan Ali skashan-ali

🏠
Working from home
View GitHub Profile
import java.util.Scanner;
public class CountStar {
static char[][] rowCol;
static boolean[][] visited;
static int count = 0;
static int row, col;
public static void main(String[] args) {
Scanner in = new Scanner(System.in);