class-10 NOT Condition | if else statement in java using Scanner

Publicado el: 10 agosto 2022
en el canal de: java coding with BH
43
4

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");
}
}


En esta página del sitio puede ver el video en línea class-10 NOT Condition | if else statement in java using Scanner de Duración hora minuto segunda en buena calidad , que subió el usuario java coding with BH 10 agosto 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 43 veces y le gustó 4 a los espectadores. Disfruta viendo!