My program is not running

sacanner part of my program is not running in my eclipse id

package Pattern;

import java.util.Scanner;

public class Pattern17 {

public static void main(String[] args) {
	Scanner scanner = new Scanner(System.in);
	int n = scanner.nextInt();
	int lnst=3;
	int nsp=1;
	int rnst=3;
	int r=1;
	while(r<=n) {
		int lcst=1;
		while(lcst<=lnst) {
			System.out.println("*");
			lcst++;
		}
		int csp=1;
		while(csp<=nsp) {
			System.out.println(' ');
			csp++;
		}
		int rcst=1;
		while(rcst<=rnst) {
			System.out.println("*");
			rcst++;
		}
		System.out.println("\n");
		if(r<=(n/2)+1) {
			lnst--;
			nsp=+2;
			rnst--;
		}
		else {
			lnst++;
			nsp=-2;
			rnst++;
		}
		r=r+1;
	}

}

}

when i run the program it comes that ur program is already runing & i cant see output

@Harsh_Sonwani,
Can you please share a screenshot of your problem?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.