Summary
Keywords
Full Transcript
In this video, Raghav Sir will teach you the If Else in JAVA in one shot. This video can be seen as a revision video if you are already following the Java and DSA Foundation Course. Lecture Notes: https://drive.google.com/drive/folders/1e_rCmdO3fnt0OKltIAcwz26YmvqJmHvk?usp=share_link If you are joining us late, to know more about PWSkills & plans : Watch the Orientation Video: https://www.youtube.com/watch?v=YpNFgTKVAtU Watch the Launch Video: https://www.youtube.com/watch?v=si8TKULKmLE 00:00 Introduction 01:41 IF statement 02:03 Problem 1 : Check if given number is odd or even 11:10 How IF works 17:33 Difference between “=” and “==” operators 19:30 ELSE statement 21:03 Problem 2 : Check if given number is divisible by 5 or not 25:46 Homework 1 : Check if given year is leap year or not 27:16 Problem 3 : Print the absolute value of given input number 35:11 Problem 4 : Print profit / loss if SP and CP are given 46:24 Problem 5 : Check if AREA of rectangle is greater than its PERIMETER 46:46 Homework 2 : Given length and breadth, check if given rectangle is a SQUARE or not 57:02 ELSE IF 1:06:36 Multiple Conditions in If Else using && and || 1:07:05 Problem 6 : Check if given number is THREE DIGIT or not 1:13:11 Homework 3 : Check if given number is TWO DIGIT or not 1:13:46 Problem 7 : Check if given number is divisible by 3 and 5 1:18:01 Homework 4 : Check if given number is divisible by 5 but not 3 1:19:56 Problem 8 : Check if given number is divisible by 3 or 5 1:25:31 Problem 9 : Print the greatest of three given numbers 1:33:08 Homework 5 : Print the least age of three given ages 1:33:53 Problem 10 : Check whether THREE given numbers can be SIDES of a TRIANGLE 1:40:30 NESTED IF - ELSE 1:41:02 Problem 11 : Check if given number is divisible by 5 and 3 using Nesting 1:48:08 Problem 12 : Check if given number is divisible by 5 and 3 but not divisible by 15 1:53:53 **VERY IMPORTANT** - 3 or more Conditions in IF statement 2:07:09 Problem 13 : Print the greatest of three given numbers using Nested If Else 2:16:58 Homework 6 : Print the least age of three given ages using Nested If Else 2:17:54 Problem 14 : WAP to check if three given coordinates lie on a straight line 2:23:23 Homework 7 : Check if given point lies on X-axis, Y-axis, Origin or elsewhere 2:26:10 Homework 8 : Check if point lies inside given circle, on the circumference or outside 2:29:22 Problem 15 : Predict the output - 1 2:36:14 Problem 16 : Predict the output - 2 2:40:48 Problem 17 : Predict the output - 3 2:43:06 Problem 18 : Predict the output - 4 2:45:46 Problem 19 : Predict the output - 5 2:52:55 Homework 9 : Predict the output - 6 2:53:40 Problem 20 : Predict the output - 7 2:56:06 Homework 10 : Predict the output - 8 2:56:48 Problem 21 : Predict the output - 9 3:02:39 Homework 11 : Predict the output - 10 ▶️ PW Skills Website - https://pwskills.com ▶️ PW Skills Instagram - https://www.instagram.com/pwcollegewallah ▶️ PW Skills LinkedIn Channel - https://www.linkedin.com/in/pw-skills-136050249/ ▶️ PW Skills Telegram Channel- https://t.me/SkillsPW #CollegeWallah #PhysicsWallah #PWSkills #PW #SkillstoLearn #Revision #Java #IF #Else #JavaProgramming
