Horje
why are my if statements not working with inputs in java Code Example
why are my if statements not working with inputs in java
//it does not seem to work for me with using the double equal sign in 
//the if statement (==). Instead, try this. 

Scanner input = new Scanner(System.in);

System.out.print("This is the user's input prompt: ");
var userInput = input.next();

if(userInput.equals("it is working")) {
	System.out.println("Thank the lord");
}




Java

Related
how to give intent one project to othrer project activity in anroid Code Example how to give intent one project to othrer project activity in anroid Code Example
java store data Code Example java store data Code Example
longadder Code Example longadder Code Example
java check if string contains multiple words Code Example java check if string contains multiple words Code Example
x^n+y^n=z^n Code Example x^n+y^n=z^n Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8