NOT Condition | if else statement in java using Scanner |conditional programing | looping Statements
this is our channel link
/ @javacodingwithbh8291
code of this class:
// NOT condition
// Not=!
// if(!(condition))
// false
// else
// true
import java.util.Scanner;
public class Topic3 {
public static void main(String[] args) {
// TODO Auto-generated method stub
int n;
Scanner sb=new Scanner(System.in);
System.out.println("enter the number");
n=sb.nextInt();
if(!(n==10))
System.out.println("ok");
else
System.out.println("not ok");
}
}
Nesta página do site você pode assistir ao vídeo on-line class-10 NOT Condition | if else statement in java using Scanner duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário java coding with BH 10 Agosto 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 43 vezes e gostou 4 espectadores. Boa visualização!