Тёмный

if Statement in Java 

Neso Academy
Подписаться 2,7 млн
Просмотров 76 тыс.
50% 1

Java Programming: if Statement in Java Programming
Topics Discussed:
1. if statement in Java.
2. Examples on if statement in Java.
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Contribute: www.nesoacademy...
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy...
Website ► www.nesoacademy...
Forum ► forum.nesoacad...
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#JavaByNeso #JavaProgramming #ifStatement

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@compilerrun5516
@compilerrun5516 4 года назад
Sir plz give any minor project stuff so that we can practice all the content you tought us in your Java videos till date. And after every lecture, give assignment program for practice. Plz sir🙏
@MaheshKagne
@MaheshKagne 4 года назад
import java.util.Scanner; public class Mahesh{ public static void main(String args[]){ Scanner input =new Scanner(System.in); System.out.print("Enter the Integer number:"); int a=input.nextInt(); if(a%2==0) { System.out.println("Integer no. is even "); } if(a%2!=0){ System.out.println("Integer no. is odd "); } } }
@zystergaming9554
@zystergaming9554 10 месяцев назад
dalle
@payalhanwate284
@payalhanwate284 7 месяцев назад
I like the way of teaching
@Renso2010
@Renso2010 2 года назад
Great explanation, if statement in java is one of the subject most important in the world of programming because depending of this evaluation, your program will be ok or will not be ok, regards from Perú.
@karimjapparov5324
@karimjapparov5324 4 месяца назад
thanks
@divyaagarwal3091
@divyaagarwal3091 2 года назад
Thankyou sir😊
@mdkaifali2163
@mdkaifali2163 4 года назад
nice...
@obunga5566
@obunga5566 4 года назад
Nice
@leonetechsports5433
@leonetechsports5433 4 года назад
perfect
@sandip6079
@sandip6079 4 года назад
Good
@sandamini_madhurasinghe9767
Can we have the slides of this lecture sir?
@hpandeymail
@hpandeymail 4 дня назад
Me be watching this video one day before exam be like
@MohamefWarsame-fj2xg
@MohamefWarsame-fj2xg 8 месяцев назад
What does mean excute
@mahmmadhusen6794
@mahmmadhusen6794 4 года назад
How many videos total in Java?
@tgl2343
@tgl2343 4 года назад
La...............
@Animemasters638
@Animemasters638 3 года назад
129 till now
@hetaeramancer
@hetaeramancer 3 года назад
@@Animemasters638 129 forever :( the rest are paid
@ayushimukherjee7227
@ayushimukherjee7227 2 года назад
package ayushi; import java.util.Scanner; public class Main { public static void main(String[] arg) { Scanner intput = new Scanner(System.in); System.out.println("enter your number:"); int a =intput.nextInt(); if (a%2==0) System.out.println("even"); if (a%2!=0) System.out.println("odd"); } }
@jradlr
@jradlr Год назад
done
@whatsapwhatsapp662
@whatsapwhatsapp662 4 года назад
thank you a lot
@diwakar8822
@diwakar8822 4 года назад
Piece of code*
@girishsuraskar1514
@girishsuraskar1514 3 года назад
import java.util.Scanner; public class Assignment { public static void main(String args[]){ Scanner input = new Scanner(System.in); System.out.print("Enter your no. :"); int i1 = input.nextInt(); if (i1%2==1) System.out.println("Your no is odd i.e "+i1); if (i1%2==0) System.out.println("your no is even i.e. "+i1); } }
@urazotech6211
@urazotech6211 Год назад
Name: Urias Kermue Question: Write a program that reads an integer from the user and tells if it is even or odd. Solution: import java.util.Scanner; public class EvenorOdd { public static void main(String[] args) { int x; Scanner input = new Scanner(System.in); System.out.print("Enter two integers to determine if even or odd:" ); x=input.nextInt(); if(x%2==0) { System.out.println("You have entered an even number:" + x); } else { System.out.println("You have entered an odd number"); } input.close(); } }
@rakshithavinod1179
@rakshithavinod1179 Год назад
If statment example or if else statment example?
@rakshithavinod1179
@rakshithavinod1179 Год назад
Else use agide soo
@hemaysorathia2103
@hemaysorathia2103 3 года назад
Give us a good reading material so we can skip the topic by just reading it
@SHYAMSUNDAR-om9ii
@SHYAMSUNDAR-om9ii Год назад
129
@hemaysorathia2103
@hemaysorathia2103 3 года назад
Provide more practice problems
@saharalnouri645
@saharalnouri645 Год назад
If else java
@dudu88dudu88
@dudu88dudu88 2 года назад
dear "a piece" instead then "a peace"
@kryptedcode
@kryptedcode 3 года назад
spelling error, its piece instead of peace
@Karansingh-vf7ei
@Karansingh-vf7ei 2 года назад
package com.Karan; import java.net.SocketOption; import java.util.Scanner; class Main{ public static void main(String[] args){ System.out.println("Enter a integer then i will tell you it is a odd or a even integer"); Scanner num= new Scanner(System.in); System.out.println((num.nextInt()%2 ==0)?"it is a even":"odd"); } }
Далее
if Statement - Exercise
3:17
Просмотров 45 тыс.
If Else Statement In Java Tutorial #17
7:39
Просмотров 328 тыс.
ЭТО НАСТОЯЩАЯ МАГИЯ😬😬😬
00:19
#kikakim
00:10
Просмотров 14 млн
switch vs. if-else in Java
4:45
Просмотров 86 тыс.
Casting in Java
8:07
Просмотров 101 тыс.
#15 Switch Statement in Java
7:59
Просмотров 151 тыс.
Java if statements 🚧【6 minutes】
6:12
Просмотров 155 тыс.
Nested if-else Statements in Java
5:26
Просмотров 73 тыс.
Learn Java in 14 Minutes (seriously)
14:00
Просмотров 4,8 млн
How Do We Get User Input in Java? - Full Tutorial
16:26