Conditionals and Loops + Calculator Program

Поделиться
HTML-код
  • Опубликовано: 4 дек 2024

Комментарии • 707

  • @KunalKushwaha
    @KunalKushwaha  4 месяца назад +12

    DSA + interview preparation playlist: ruclips.net/p/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ

  • @sahilanand30
    @sahilanand30 3 года назад +50

    This is actually THE MOST premium course in the World!

  • @avanishdubey6556
    @avanishdubey6556 3 года назад +67

    I think now everyone can see the Beauty of Java.

  • @eitoes
    @eitoes 3 года назад +83

    This course is very structured. Many tutorials explain concepts but ignore problem solving . Thank you kunal for this course

  • @vedanthbaliga7686
    @vedanthbaliga7686 3 года назад +220

    Who the heck dislikes this😑. Thanks a lot for the efforts Kunal! Really appreciate it. The series has made me switch from Netflix to studying DSA 😂it's so addictive

  • @rishabhdhawad
    @rishabhdhawad 3 года назад +705

    This Java DSA Series is so Addictive 😍

    • @KunalKushwaha
      @KunalKushwaha  3 года назад +104

      Thank You!

    • @davs2002
      @davs2002 3 года назад +35

      @@KunalKushwaha this frequency of posting tutorials every alternate day is much better than posting every day as it gives us time to practice properly instead of rushing to keep up with you

    • @uncalledbrake603
      @uncalledbrake603 3 года назад +44

      @@davs2002 He already mentioned that he'll upload all videos and it will be self paced. Most of us here are in final year and want to brush up all concepts clear before the placements starts so it'll be better if he uploads 1 video everyday.
      Also you can watch videos alternate days and practice in between 😀

    • @sankiGunda.
      @sankiGunda. 3 года назад +14

      @@davs2002 bhai terko alternative day mei dekhni hai tho dekh sakta hai...par humare pass jada time nehi hai

    • @rishabhdhawad
      @rishabhdhawad 3 года назад +9

      @@uncalledbrake603 I am still in 2nd Sem 😀

  • @kalpoo23
    @kalpoo23 3 года назад +16

    Solving any problem flawlessly and with so ease. Wow! Your my new teacher. thanks for your simple and detailed teaching.

  • @shubhamagarwal1434
    @shubhamagarwal1434 Год назад +14

    # GOD Of DSA
    Hi I am a 11yr exp java guy was searching for some free course on youtube for DSA came accross your course and i just feel love in it...all in one place that too with java...i must say you have done very awsome work...your name will be there on this earth as long as DSA will be asked in interviews...May Supream Lord Vishnu Bless You..✌🙏

    • @rakesh-n2x9c
      @rakesh-n2x9c 10 месяцев назад

      Hi Shubham, which tech stack are you working now?

  • @sanketkumbhar8887
    @sanketkumbhar8887 3 года назад +12

    Favorite Line from all the lectures is: Very Simple Stuff

  • @ankit_1012
    @ankit_1012 3 года назад +28

    I haven't seen.. Anyone teach better..than u Really.. Awsm..

  • @debasishchakraborty4196
    @debasishchakraborty4196 2 года назад +37

    All of your videos from basic to advanced are unavoidable due to your super smart style of teaching. It's a gift for many of us beginner or experienced who so ever I believe.

    • @KunalKushwaha
      @KunalKushwaha  2 года назад +5

      You're very welcome!

    • @debasishchakraborty4196
      @debasishchakraborty4196 2 года назад

      @@KunalKushwaha one biggest plus point in all your teachings , you are successfully able to generate interest on such difficult topics like DSA of folks watching these videos in a true sense

  • @Humanbeing485
    @Humanbeing485 Год назад +5

    kunal, you have no idea how much this course is boosting my confidence....i wish one day i could meet you and thank you personally....

  • @MarkusEicher70
    @MarkusEicher70 Год назад +14

    Many thanks, Kunal! 🤛 This lesson was a good opportunity for me to practice loops and conditions. Something that for many more experienced developers surely is daily business. I try to make it a habit to first write the pseudo code and the flowchart for the assignments and then I go over to code the solution in Java, JavaScript and Go. This takes a ton of time, but this way the stuff sticks in my old brain. I appreciate your contribution to free education. 🤝

  • @vikastyagi1607
    @vikastyagi1607 2 года назад +44

    Learning DSA has never been this much fun.

    • @Siddharth3029
      @Siddharth3029 Год назад +4

      Bhaiya isme java language basics se padhai hai kya kyuki Mai beginner hu please reply

    • @nsitkarana
      @nsitkarana Год назад +2

      @@Siddharth3029 yes. its covering from the basics. go for it

    • @niharikabhardwaj2357
      @niharikabhardwaj2357 4 месяца назад

      Can u pls tell from where did u cover the topics mentioned

  • @bask-x86
    @bask-x86 8 месяцев назад +2

    One of the best tutorials so far in RUclips (Java). Thank you Kunal

  • @parmarjaynareshbhai6610
    @parmarjaynareshbhai6610 3 года назад +12

    Really appreciate your effort 6 videos in 6 days really excited to learn from you.

  • @lavanya_m01
    @lavanya_m01 3 года назад +136

    Hey Kunal! Don't feel pressurized coz of the comments asking for more videos. The frequency and quality of your video is awesome! Cheers and take ur time! Thanks a lot for this commitment ;))

    • @urjasvi
      @urjasvi 3 года назад +1

      this comment should get a 💖

    • @Siddharth3029
      @Siddharth3029 Год назад +1

      Bhaiya isme java language basics se padhai hai kya kyuki Mai beginner hu please reply

    • @mirraza4692
      @mirraza4692 Год назад

      @@Siddharth3029 yes

  • @sabrinanastasi5809
    @sabrinanastasi5809 2 года назад +9

    If I could, I would write this in every video: nobody dedicated so much on the internet to teach such complex subjects in a clear, crystal-clear manner, besides the amazing quality. And tks for teaching in English, I am a native Portuguese speaker and I have English as a second language, however, most of the good videos are available in Hindi and have no translation to English. Tk you forever!!
    (I have you as a reference in terms of learning, better than all my professor in computer science college adding altogether)

    • @KunalKushwaha
      @KunalKushwaha  2 года назад +2

      Thank you

    • @harishrajwani3697
      @harishrajwani3697 Год назад +1

      @@KunalKushwaha bhyia pls continue DSA series you're much much much better than those paid courses

    • @factmania0803
      @factmania0803 Год назад

      @@harishrajwani3697 bhai kunal bhaiya ne dsa series complete kiyi to best series hogi

  • @peakygeekyreviews8451
    @peakygeekyreviews8451 Год назад +3

    noone could teach as better as kunal sir,mean my words guys this is the most understanding and easy explained coarse just follow the assignments question to build more confidence ,and see the result after a month that the level is increased,i highly appreciate this work done by kunal sir i wish i could meet and thanks for all this.

  • @salonijain8943
    @salonijain8943 3 года назад +15

    I never stick onto RUclips lectures series for a long time. But this one has my ❤️

    • @iUtkarsh21
      @iUtkarsh21 Год назад

      Hey seriously I am not getting anything what he is teaching but I completely want to learn what should I do. I don't know anything about coding.

    • @lakshaydahiya618
      @lakshaydahiya618 Год назад +1

      @@iUtkarsh21 first learn C or C++ then you will understand , I also didn't understand anything but after learning C I can understand most of it.

    • @imnone
      @imnone Год назад

      no learn from durga sir no need of c i never learnt it @lakshaydahiya618 @I@@iUtkarsh21

  • @Spider-Man_67
    @Spider-Man_67 2 года назад +5

    My god I'm amazed by the way u give us the way to build logic for problem-solving, thanks Kunal, never seen such an amazing playlist ever before, thanks, man!

  • @Harsh-wr7ov
    @Harsh-wr7ov 2 года назад +8

    honestly speaking, i m in 2nd yr, and this is the first time i could understand while loop, kudos man u r greattt

    • @shubhsingh9787
      @shubhsingh9787 2 года назад

      same here vroo....

    • @DevTech.s
      @DevTech.s 9 месяцев назад

      Then how did you make it to 2nd year, if you don't even know basic loops 😂

  • @taongasoko4716
    @taongasoko4716 2 года назад +2

    I literally just started this series and Oh my God this is pure gold!!,...thank you so much for simplifying everything for us

  • @sharannarsingi7578
    @sharannarsingi7578 Год назад

    52:43 Even if you print the rem variable the answer will be the same i.e. reverse of that num, all you need to do is initialize the rem variable outside the while loop. THANK YOU for a clear explanation

  • @Securitywasted
    @Securitywasted Год назад +1

    Even my proffessor won't teach like that you.Great man kudos to you.

  • @mdbillah9998
    @mdbillah9998 3 года назад +4

    You are the best Programmer explaining DSA such a unique way in Java. I absolutely loved it!!!

  • @congomigue9072
    @congomigue9072 9 месяцев назад +1

    I am enjoying the series by Kunal, literally binge watching this Kunal playlist. I tried to modify the calculator program here and added just a few logic: import java.util.Scanner;
    public class Calculator {
    public static void main(String[] args) {
    // The calculator program tutorial by Kunal;
    Scanner input = new Scanner(System.in); // takes in user input
    // Calculation logic.
    // should be a loop
    while (true) {
    System.out.println("Enter the operator to use ");
    // takes the operand we'll be using
    char op = input.next().trim().charAt(0);
    if (op == '+' || op == '-' || op == '/'|| op == '*' || op == '%'){
    System.out.println("Enter the 2 numbers to use ");
    int res = 0;
    int num1 = input.nextInt();
    int num2 = input.nextInt();
    boolean validCalculation = true;
    if (op == '+') {
    res = num1 + num2;
    } else if (op == '-') {
    res = num1 - num2;
    } else if (op == '/') {
    // But we cant divide a number by 0, it will throw an error.
    if (num2 != 0) {
    res = num1 / num2;
    } else {
    System.out.println("Hey there, this is not valid as it will return infinity");
    validCalculation = false;
    }
    } else if (op == '*') {
    res = num1 * num2;
    } else if (op == '%') {
    if ( num2 != 0) {
    res = num1 % num2;
    } else {
    System.out.println("Hey there, this is will result to an error, cant have this");
    validCalculation = false;
    }
    }
    if (validCalculation){
    System.out.println("Your result is " +res);
    }
    } else if ( op == 'x' || op == 'X') {
    break;
    } else {
    System.out.println("Invalid Operator");
    }
    }
    }
    }

  • @bikramsaha1932
    @bikramsaha1932 3 года назад +125

    Awesomeeee🔥 i am literally addicted to this series.. this 2 day gap felt like a lifetime😂..

    • @KunalKushwaha
      @KunalKushwaha  3 года назад +92

      I uploaded 6 videos in 6 days what else do you want?

    • @hammad8965
      @hammad8965 3 года назад +11

      @@KunalKushwaha May be he is the one who already know basics 😁

    • @bikramsaha1932
      @bikramsaha1932 3 года назад +34

      @@KunalKushwaha are na na i didnt mean like that i just meant such is the quality of the content.. it makes waiting worth it😅.. sorry if i choose the wrong words

    • @whycm
      @whycm 3 года назад +3

      Bhai CIVO channel p v deveops ka bootcamp mein padha rhe h aur twitch p v Opensource(MLH) k liye kl podcast kiye the...so if you are interested in these, you may follow these videos.

    • @maheshmoholkar8088
      @maheshmoholkar8088 3 года назад +1

      More videos!!!

  • @AdixPandey
    @AdixPandey 11 месяцев назад +2

    @KunalKushwaha 52:09 why we are adding the numbers but we can simply do ......
    public class reversingNumber {
    public static void main(String[] args){
    int n = 28479;
    while (n>0){
    int x = n%10;
    System.out.print(x);
    n = n/10;
    }
    }
    }

  • @tanoypaul
    @tanoypaul Год назад +13

    Kunal Sir, please continue the series. It would help all of us a lot 🤞🏻The quality you provide is unmatchable. 💥

  • @quirkyminds5692
    @quirkyminds5692 2 года назад +8

    For 52:00 Question No.5(Reverse a No.) , I have a more easier method:-
    public class ReverseMyNumber
    {
    Public static void main(String... args)
    {
    int n=28479;
    while(n>0)
    {
    int rem= n%10;
    Sytem.out.print(rem);
    n=n/10;
    }
    }
    }
    Make sure to write "print" instead of "println" in the output printing statement.

    • @deadpool123-
      @deadpool123- 2 года назад

      that program will be easier for paindrome too it works for both

    • @TxNet
      @TxNet Год назад

      same thought bro!

  • @vrfod
    @vrfod 3 года назад +10

    kunal bhaiya i know you must be busy but adding a lecture of you doing an open source project using what we have learnt so far in this course will make it absolutely complete because what most of us lack is implementation and it'd mean the world to us if you'd think about it. Thank you for everything

  • @riddhijoshi1293
    @riddhijoshi1293 Год назад +3

    Such a great course , I can't stop myself playing next lectures ...doing it one by one

  • @amansrivastav6885
    @amansrivastav6885 Год назад

    this course is in very detail for begginers
    and covers all important concepts

  • @sahilanand30
    @sahilanand30 3 года назад +4

    This man has removed the fear of java from my mind!

  • @siddheshdeshmukh3635
    @siddheshdeshmukh3635 10 месяцев назад +1

    at 50:59 we can use print without multiplying with 10
    public class reverse {
    public static void main(String[] args) {
    int a=83574;
    int nxt=0;
    while(a>0)
    {
    int mod=a%10;
    nxt=mod;
    System.out.print(nxt);
    a=a/10;
    }
    }
    }
    it's output is 47538 !!!!!

  • @SnippetSurfer
    @SnippetSurfer 10 месяцев назад

    I love your answer, my solution was: //Q: Reverse the given integar
    int n = 16674;
    String numStore = "";

    while(n > 0){
    int last = n % 10;
    String lastString = Integer.toString(last);
    numStore += lastString;
    n /= 10;
    }
    int numInt = Integer.parseInt(numStore);

    System.out.println(numInt);

  • @MandolinSashaank
    @MandolinSashaank Месяц назад

    Such high quality material is illegal to stay free. It feels so good to see you do such a community service to us.

  • @innocentgamer8670
    @innocentgamer8670 Год назад +1

    51:57 another method to solve this is ,,
    class Main {
    public static void main(String[] args) {
    long n = 198451318728144l;
    long rev = 0;
    while(rev

  • @abhaykumar0215
    @abhaykumar0215 3 года назад

    Thanks a lot for such kindness where u r teaching DSA and not charging any penny...

  • @AntarikshRajkonwar
    @AntarikshRajkonwar 2 месяца назад

    Quite heavy for a beginner. Since, I'm an intermediate I understood how programs are literally working. Thanks to the debugging feature, which is a lifesaver! And, it's great that Kunal sir is making us practice many yet hard questions in the video itself. (24/09/24 12:45am)

  • @davidmurege
    @davidmurege Год назад +2

    One of the best. This will make pro. Kunal kudos

  • @akhilreddybollu5551
    @akhilreddybollu5551 3 года назад +6

    Every one can teach but no one teach like you 🥰🥰🥰
    Waiting for your next video 😍😍🥰

  • @jaypandya7801
    @jaypandya7801 Год назад +1

    Q1 : using operators //Q:find maximum of three numbers
    int max = a;
    if (b> max && b > c){
    System.out.println("The maximum number is : " + b);
    }else {
    System.out.println("The maximum number is : " + c);
    }
    }

  • @NitinSingh-cs6lp
    @NitinSingh-cs6lp 3 года назад +5

    Java DSA ...U MADE THE TOUGH ONE SO EASY . Hats off

  • @rishabrai914
    @rishabrai914 3 года назад +2

    at 51:40 we do not need to multiply and add simply find remainder and print without using printl..
    for eg: System.out.println("enter number:");
    Scanner scn=new Scanner(System.in);
    int n=scn.nextInt();
    while(n!=0){
    int temp=n%10;
    System.out.print(temp);
    n=n/10;

    • @vamsikrishnak3824
      @vamsikrishnak3824 3 года назад

      How do we evaluate our assignments. Are there assignment solutions available. please let me know.

    • @sushantsingh0704
      @sushantsingh0704 2 года назад

      both the ways are fine !! but creating a different variable that stores the reverse value will help later in palindrome questions.

  • @Haanji-k3t
    @Haanji-k3t Год назад +1

    Its great DSA course ever, first time coding seems interesting😍

  • @saumyadeshmukh6758
    @saumyadeshmukh6758 3 года назад +4

    i have one more solution for largest number:-
    import java.util.Scanner;
    public class temp {
    public static void main(String[] args) {
    Scanner value = new Scanner(System.in);
    int a = value.nextInt();
    int b = value.nextInt();
    int c = value.nextInt();
    if(a>b){
    System.out.println(a);
    }
    if(b>c){
    System.out.println(b);
    }
    if(c>a){
    System.out.println(c);
    }
    }
    }
    in this one is used the cyclic order of a>b>c or c>a>b or b>c>a

  • @venkateshveerala7590
    @venkateshveerala7590 2 месяца назад +1

    Thank you kunal for the amazing lecture❤❤

  • @RohitKumar-zp6ci
    @RohitKumar-zp6ci 5 месяцев назад

    Seriously, very helpful, i am able to think and execute logics on my own.
    You are just amazing.
    47:00:
    Try this :
    public class CountNums {
    public static void main(String[] args) {
    String str = "12343";
    int count = 0;
    for (int i = 0; i < str.length(); i++) {
    char c = str.charAt(i);
    if (c == '3') {
    count++;
    }
    }
    System.out.println(count);
    }
    }

  • @sabihasamreen3621
    @sabihasamreen3621 Год назад +1

    This is the best lecture series so far.. Thankyou!

  • @AbhishekSharma-me
    @AbhishekSharma-me 3 года назад +10

    Thanks for the wonderful lectures, theres not even a single day I skipped your lectures from the past week.

  • @singhkr
    @singhkr Год назад +1

    Take precautions before watching this course
    You will be addicted to this DSA course and fall in love with DSA 😄😆💯

  • @Ahmadsadiq21
    @Ahmadsadiq21 2 года назад

    This is the best way of teaching.

  • @jasper5016
    @jasper5016 Год назад +1

    You are really talented and you know how to teach others. Glad I found your channel to learn DSA. Thanks Kunal!

    • @Siddharth3029
      @Siddharth3029 Год назад +1

      Bhaiya isme java language basics se padhai hai kya kyuki Mai beginner hu please reply

    • @dherya__rakho
      @dherya__rakho Год назад

      ​@@Siddharth3029brother kya tumne yeh start kia?

    • @Siddharth3029
      @Siddharth3029 Год назад +1

      @@dherya__rakho nahi mai devlop sikh rahu hu abhi baad me dsa karunga

    • @dherya__rakho
      @dherya__rakho Год назад

      @@Siddharth3029 web dev? But why.... Agar tum Java pehle karte toh tumhe baad mei web d mei bhi asaani hoti

  • @shubhamgoswami8751
    @shubhamgoswami8751 3 года назад +1

    Thanks for saving my career and my money... thanks🙏

  • @ravishankarkumar8245
    @ravishankarkumar8245 11 месяцев назад +1

    In the Video at the instance 6:24 , if we run the program only the first if condition is running , else if will not run ... for that i would suggest everybody to write 20000 in the if condition and 10000 in else if condition.
    Example:
    import java.util.Scanner;
    public class Main {
    public static void main(String[] args) {
    Scanner input = new Scanner(System.in);
    int salary = input.nextInt();
    if (salary > 20000){
    salary += 3000; //salary=salary+3000
    } else if (salary > 10000) {
    salary += 2000; //salary=salary+2000
    }
    else {
    salary += 1000; //salary=salary+1000
    }
    System.out.println(salary);
    }
    }

  • @Kaushikee1
    @Kaushikee1 2 месяца назад +1

    You are the best..... Kunal sir..❤❤
    Thanku so much for this course ❤ I'm preparing for my interview from your series😊

  • @nehanidhi7021
    @nehanidhi7021 Год назад +1

    23:46 your solution is very good. I used if, else if, and else to solve but you wrote using max. Never thought of that

    • @mohammedaqueel7524
      @mohammedaqueel7524 Год назад

      Hi
      Would you please share the code on how you used the if, else if and else statements. I have been trying to use the conditional statements for the past hour but the program is not being executed properly

  • @mainakroy7781
    @mainakroy7781 3 года назад +2

    Good stuff 👍 Kunal . This series is gonna be great . Excited or what!

  • @ravishankarkumar8245
    @ravishankarkumar8245 11 месяцев назад +1

    for fibonacci series,
    taking 0 as 1st position,
    import java.util.Scanner;
    public class Fibo {
    public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int n = in.nextInt();
    int a = 0;
    int b = 1;
    int count = 2;
    System.out.println(a);
    System.out.println(b);
    while (count

  • @Mohit-os7fq
    @Mohit-os7fq 2 года назад +5

    HI! Great series
    In fibonacci series there is one missing condition
    as n=0 it will give 1 --as per video code
    so there should be an if-else at end so that if n=0 if will give 0 only.
    plz have a look on it.

    • @linuxfreak117
      @linuxfreak117 2 года назад +2

      Your input was n = 0. Which makes the condition (count

  • @ravishankarkumar8245
    @ravishankarkumar8245 11 месяцев назад +1

    In the Video at the instance 34:00 , if we run the program only the first if we enter a valid alphabet then it will show whether it's uppercase or lowercase, but if we right any number it gives output as a Uppercase.
    correct code :
    import java.util.Scanner;
    public class CaseCheck {
    public static void main(String[] args) {
    Scanner input = new Scanner(System.in);
    char ch = input.next().trim().charAt(0);
    // check wether it's upper case or lower case
    // && and
    // || or
    if(ch >='a' && ch = 'A' && ch

  • @dhruvirajyaguru7170
    @dhruvirajyaguru7170 2 года назад

    thank you finally find a tutor whom gave great content ❤

  • @nobody124...
    @nobody124... 7 месяцев назад +1

    well explained than my college lecturer first i was hating java but now i am loving it

  • @work_sanskriti6369
    @work_sanskriti6369 2 года назад

    these videos also "make sense !!" ....... I would love to loop my thanks to infinity times

  • @sigmaprideu
    @sigmaprideu Год назад

    Bro I was planning to buy course of DSA JAVA from coding ninja and suddenly i searched on RUclips and start playing your videos .Now i am addicted to your channel.Thank you for uploading these quality course,you saved my money.❤❤❤

  • @Murtaza-p8z1m
    @Murtaza-p8z1m Год назад +1

    Love this course Sir
    It is really amazing 🤩

  • @siddvi266
    @siddvi266 Год назад +3

    public class fibo {
    public static void main(String[] args) {
    int a=0;
    int b=1;
    System.out.println(a);
    System.out.println(b);
    for (int i = 0; i < 8; i++) {
    int c=a+b;
    System.out.println(c);
    a=b;
    b=c;
    }
    }
    }

  • @emmanueladesope4178
    @emmanueladesope4178 2 года назад

    Thanks so much Kunal. You are a blessing.

  • @PraphullaJadhav
    @PraphullaJadhav Год назад

    Hi Kunal your work is amazing ...I've been working since last 7yrs in IT but I never know how to reverse number & Fibonacci series logic I was just remembering it as I never understood it Thanks brother seriously.

  • @AnkurKumar-wg3on
    @AnkurKumar-wg3on Год назад +1

    great video kunal, hands on learning. Feel so much more confident about programming in java.

  • @sneharoy5444
    @sneharoy5444 2 года назад +1

    the best series on youtube even paid courses are not like this.. hats of to you kunal

  • @Vishwask22
    @Vishwask22 2 года назад +1

    This is Amazing bro! Learnt & practiced as well.

  • @ZenHiker.
    @ZenHiker. 5 месяцев назад +6

    Day 10 of DSA learning ✅

  • @ajaysairam1747
    @ajaysairam1747 2 года назад

    i have learnt the new approach to find the largest number WOW!

  • @nishant3904
    @nishant3904 3 года назад

    I Must say these videos are CLEAN !

  • @VidhiSuryawanshi-f8r
    @VidhiSuryawanshi-f8r 6 месяцев назад

    #Superb series Kunal Bhaiya
    #one & only one😎
    #Eazy to understand
    #No.1 Java+DSA

  • @mdasadullah2638
    @mdasadullah2638 3 года назад

    Addictive series seriously I am working professional have time issue in the working day but once I play your video can't leave without completing video

    • @mdasadullah2638
      @mdasadullah2638 3 года назад

      @@somuacharya6586 yes brother unfortunately it matters I think as I have seen max 2 to 3 year gap allows depending on company until you have exceptional skills.

    • @mdasadullah2638
      @mdasadullah2638 3 года назад

      @@somuacharya6586 brother never feel demotivated about your gaps just be ready to answer genuinely about . now comes to what to do part I'm not perfect one to give you any path but in my understanding you enough time to do anything as you are in college just learn java as you are from tire 3 learn DSA have some problem solving ability just to kunals course is hona help you totally don't looke for other things .. then you should learn development by choosing anything web development or mobile app development.. I know there are so many things AI and all but I would say intially don't go for that as I have made mistake only few opportunities are there for guys who is just graduated and have average skills .. so if you choose web development master HTML CSS Java Script and React framework make so many great project now one is going to stop you getting a job ASAP.

  • @roshanmhatre8810
    @roshanmhatre8810 3 года назад +3

    I hated Java when I tried to learned earlier but your Teaching ❤️❤️❤️

  • @notshubhm
    @notshubhm 2 года назад +2

    // 51:55 if we input 53210, Your solution ignores 0! output: 1235
    // Another approach for reverse a number using String.
    public static void main(String[] args){
    int n = 53210;
    String rev = "";
    while (n > 0){
    int num = n%10;
    rev = rev + num;
    n = n/10;
    }
    System.out.println(rev);
    }
    output: 01235

    • @AnimatedBollywood
      @AnimatedBollywood Год назад

      Dont't worry ! I am with you

    • @greatman0072
      @greatman0072 Год назад

      n/10 karne pe why aren't we getting error coz it will convert number to double/float

  • @nitinxd98
    @nitinxd98 Год назад +2

    the reverse q. can be done more easily if you use it like this
    int a = 1651654;
    while(a>0)
    {
    int rem = a%10;
    if(a>0)
    {
    System.out.print(rem);
    }
    a=a/10;

    • @rudhresh5547
      @rudhresh5547 3 месяца назад

      The thing you've done is just a reverse of that.
      But the actual result should be also a number such that it is the reverse of an original number.

  • @Soyeb01YT
    @Soyeb01YT 2 года назад

    Completed assignment, Awesome explanation.... Moving to next one

  • @kij3743
    @kij3743 2 года назад +3

    In those multiple if else statements , if salary >10000 and if salary>20000 are intersecting ones.
    Eg: Let salary be 11000 , then according to the code it should give 13000 , which it will give .
    But if you put salary> 20000 , for eg : salary= 22000 , it will not give us 25000 , but we will get the output as 24000. I know its nothing but its bit confusing for me so I thought i should comment so that a newbie wont get confused. Keep on going like this Kunal.

    • @parikshitpareek1993
      @parikshitpareek1993 2 года назад

      Thank you so much! I was actually looking for this comment. What is the solution to this? Is it putting greater than 10k and less than 20k in the first if statement?

    • @shikharverma1253
      @shikharverma1253 2 года назад

      @@parikshitpareek1993 if you want 10k-20k range , you be writing salary>10000 && salary

  • @pooja6380
    @pooja6380 Год назад +2

    thank you for such amazing playlist....😍Its really helpfull👍

  • @muhammadhabib1616
    @muhammadhabib1616 2 года назад +2

    I used this approach to reverse the number and its nicely working
    You can also check it out
    public class reverse {
    public static void main(String[] args) {
    int n = 2354735;
    int count = 0;
    while(n>0) {
    int rem = n % 10;
    count++;
    n = n / 10;
    System.out.print(rem);
    }
    }
    }

  • @himanshushukla6451
    @himanshushukla6451 3 года назад

    you solving questions was an eyeopener

  • @amosujames2818
    @amosujames2818 Год назад

    Thanks a lot Kunal! Enjoy this section.

  • @priyankarajput3105
    @priyankarajput3105 3 года назад

    In the way, you explain things, is too good.

  • @madhabmukherjee1675
    @madhabmukherjee1675 3 года назад +1

    Hey kunal I am telling you a funfact that you are a God level teacher

  • @prasannajaga3584
    @prasannajaga3584 2 года назад

    keep on coming kunal ! it's really feels awesome ...

  • @perveenneha1423
    @perveenneha1423 3 года назад +1

    kunal can you please also start open source guide because many of us have completed a major portion of the basics and would like to get experience in open source. I know you are working very hard for us and you are busy with everything. but it would be great help if you just started somethings with open source also. please . I appreciate the hard work you are doing for the community.

  • @zhengen
    @zhengen 3 года назад

    Some of the questions here are easy leetcode questions. Awesome work Kunal

  • @deveshb793
    @deveshb793 3 года назад +2

    Thank you Kunal bhai!
    Going to comment on each video so that youtube algorithm makes it reach more people:-)

    • @rishika9102
      @rishika9102 3 года назад

      Hi
      How's this playlist as m about to start but don't have time to explore then decide
      Already in 6 th so can u plz tell how's this playlist going on till now ?

  • @kashishraghuvanshi6844
    @kashishraghuvanshi6844 3 года назад +1

    Heyy Kunal!!! I read the comments!!!...They Just wanna tell you to post the videos early as soon as possible...As you started video on gaming...But they addicted with your java content and your confidence to do it...I am too addicted and wants you to post more Get Likes Comments and subscription....Glad to seee you ...Here again...Love you❤

  • @haris7521
    @haris7521 2 года назад

    love this dude , thanks Kunal for the DSA

  • @babayagaartworks7357
    @babayagaartworks7357 8 месяцев назад +2

    Day 2 of the series, moving towards arrays now. Today's goal is to finish till lecture number 20

  • @JSDEVD
    @JSDEVD Год назад

    Thnks kunal for this. Any person can understand this...

  • @clownyt4310
    @clownyt4310 Год назад +1

    Dammm addictiveee ❤️🔥🔥❤️..may god bless youu 💓

  • @BibekGhoshh1
    @BibekGhoshh1 2 года назад +1

    it is actually fun ....i enjoyed whole video...