Conditionals and Loops + Calculator Program

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

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

  • @KunalKushwaha
    @KunalKushwaha  Месяц назад +7

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

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

    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 года назад +682

    This Java DSA Series is so Addictive 😍

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

      Thank You!

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

      @@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 года назад +42

      @@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 😀

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

    This is actually THE MOST premium course in the World!

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

    I think now everyone can see the Beauty of Java.

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

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

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

    # 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..✌🙏

    • @user-ig9xc9ws4s
      @user-ig9xc9ws4s 7 месяцев назад

      Hi Shubham, which tech stack are you working now?

  • @lavanyam3224
    @lavanyam3224 3 года назад +133

    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

  • @vikastyagi1607
    @vikastyagi1607 Год назад +43

    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 Месяц назад

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

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

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

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

      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 года назад +35

      @@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!!!

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

    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. 🤝

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

    Favorite Line from all the lectures is: Very Simple Stuff

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

    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

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

    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 11 месяцев назад

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

  • @kalpoo23
    @kalpoo23 2 года назад +13

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

  • @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....

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

    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

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

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

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

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

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

    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

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

    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 6 месяцев назад

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

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

    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.

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

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

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

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

  • @congomigue9072
    @congomigue9072 7 месяцев назад +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");
    }
    }
    }
    }

  • @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!

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

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

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

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

  • @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

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

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

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

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

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

    Simple version for Fibonacci numbers :
    import java.util.Scanner;
    public class Fibonacci_number {
    public static void main(String[] args) {
    Scanner input = new Scanner(System.in);
    System.out.print("Enter the no. of terms: ");
    int n = input.nextInt();
    int firstNumber = 0;
    int secondNumber = 1;
    System.out.println("Fibonacci number till" + n + "terms");
    for (int i = 0; i

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

      @sana shaikh yup! "nileshgarg0".

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

      It should be n-2 ig?

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

      @@mayureshpisat2274 for the nth Fibonacci we only need n - 1 and n - 2 element
      here we take 2 variable
      firstNumber and secondNumber
      they are in the real sense last and second last

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

      @@mayureshpisat2274 this question is for Dynamic programming and recursion

  • @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.❤❤❤

  • @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

  • @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);
    }
    }

  • @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;
    }
    }
    }

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

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

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

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

  • @quirkyminds5692
    @quirkyminds5692 Год назад +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- Год назад

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

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

      same thought bro!

  • @sharannarsingi7578
    @sharannarsingi7578 11 месяцев назад

    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

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

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

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

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

  • @muhammadhabib1616
    @muhammadhabib1616 Год назад +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);
    }
    }
    }

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

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

  • @ViPuL2006
    @ViPuL2006 Месяц назад +8

    i don't understand the Fibonacci Program.

    • @akshaysmart6257
      @akshaysmart6257 Месяц назад +1

      As per the question , we are taking two variables a and b and iterating over the entire series upto n by moving a and b to their respective position. While doing so we update a with b (a=b) and b with the result of a and b (b = a + b). But this won't work while coding. So we store b in a temporary variable (temp = b). And after updating b with the result of a and b(b = a + b) this ensures to retrieve the previous b value which is stored in temp variable. This temp variable will not tampered the previous b value even after updating the b with the result of a and b. And finally we are updating a with temp(a = temp) which is previous b value before updating result. I tried my best I hope this helps😅

  • @_I_am_AI
    @_I_am_AI 8 месяцев назад +1

    @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;
    }
    }
    }

  • @siddheshdeshmukh3635
    @siddheshdeshmukh3635 7 месяцев назад +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 !!!!!

  • @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.

  • @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❤

  • @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

  • @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

  • @davidmurege
    @davidmurege 10 месяцев назад +2

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

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

    Day 10 of DSA learning ✅

  • @ravishankarkumar8245
    @ravishankarkumar8245 8 месяцев назад +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

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

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

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

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

  • @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

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

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

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

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

  • @user-lq2yu8zp5y
    @user-lq2yu8zp5y 10 месяцев назад +1

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

  • @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 2 года назад

      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 ?

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

    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

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

    In the multiple if else statement part, if (salary > 10000) {salary += 2000} else if(salary > 20000) {salary += 3000} else{salary += 1000}, here both the if conditions are true, so the first if statement block will be executed and salary will be incremented by 2000 and then exit but the salary is > 20000 so it should be incremented by 3000. So, the if(salary > 20000) should be the first if statement I guess. Correct me if I am wrong. Thanks.

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

      Yes correct I also observed that.... i think we need to go in increasing order

  • @ravishankarkumar8245
    @ravishankarkumar8245 8 месяцев назад +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);
    }
    }

  • @notshubhm
    @notshubhm Год назад +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

  • @ravishankarkumar8245
    @ravishankarkumar8245 8 месяцев назад +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

  • @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

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

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

  • @user-bk3gb4vq1p
    @user-bk3gb4vq1p Час назад +1

    At 53:10 how the loop is calculating the answer, if there is no any updation mentioned?

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

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

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

    I have a doubt,why did we use a loop in the calculator program?
    We could have made the program with just if else statements and then also it would run.
    Also I had just copied that calculator program from github and tried to run it on my intelij idea ,it was showing some errors. Can anyone help me?

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

      Hii
      Is this course worth following as m.already in 6th sem n I don't have time in my hand to explore n then learn
      So can u please tell me how's this course 🙏

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

      @@rishika9102 this is one of the best course till now I've seen,if your concepts are not much clear then no doubt you should go for this course,but if you're in 6th sem then I think you should look for a course which covers everything in shorter duration because it's your time for internship as well as placement,so start this only if you have some extra time.

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

    Hey kunal bhai..in the multiple if else example shouldn't the condition be if ( salary> 10000 && < 20000 ) rather than only the first part? because if i take only the first part and run it and take a salary 22000.. as the program run it will check the first condition and it will satisfy that.. what i am saying is that shouldn't the conditions in multiple if else statements be disjoint?

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

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

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

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

  • @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.

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

    //Author : Harman kaur
    //purpose : Finding nth Fibonacci number
    package harman1;
    import java.util.Scanner;
    public class Fibnumber {
    public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int x = in.nextInt();
    int a = 0;
    int b = 1;
    for (int i =0; i

  • @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.

  • @sugandhm2666
    @sugandhm2666 3 года назад +7

    Kunal your voice somewhat resembles to social media influencer, youtuber Angry Rantman at 0% anger. Like a cool Kunal javaman :)

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

      Try YjR channel who talks about football he even looks a bit like him😂

  • @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.

  • @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 11 дней назад

      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.

  • @user-fz1iz5ej9j
    @user-fz1iz5ej9j 3 месяца назад

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

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

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

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

    Is it only me or is there someone else also who is not getting the logic to solve questions and code before he explains?
    BTW your teaching is fantastic Kunal bhaiya

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

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

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

    Fibo code will Breck for 0 input coz it will return 1 here but i knew you had used this approach to make it simple.. Praise you for this great course.

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

    Please continue till the end don't leave us at the middle and heartly Thank You to you from us

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

    This is Amazing bro! Learnt & practiced as well.

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

    A question
    At 28.40 shouldn't we take string rather than char ch 28:41

  • @user-zb2ee1yg5v
    @user-zb2ee1yg5v 10 месяцев назад +1

    Love this course Sir
    It is really amazing 🤩

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

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

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

    Reverse can be more easier when we use
    while(num > 0){
    Int rem = num%10;
    System.out.print(rem);
    num = num/10;
    }
    Hope u like it.

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

      Great! but there is a tiny problem... you aren't storing it anywhere so technically you can't use it somewhere else
      Like say outside the loop

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

    Bhai Maine coding Ninja ka course buy kiya per ...tum usse bht jyada achhe se explain krre ho...waha pe mere concept clear nhi ho rhe the

  • @akshay.ppvvtt
    @akshay.ppvvtt 2 года назад +2

    Bro amazing stuff!!! You gave me approach how to crack question

  • @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 11 месяцев назад

      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

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

    thank you finally find a tutor whom gave great content ❤

  • @Window2015
    @Window2015 10 месяцев назад +2

    Personal timestamp:
    Day 1) 49:40
    Day 2) 53:00
    Day 3) 1:02:34

  • @abhishektripathi3536
    @abhishektripathi3536 11 месяцев назад

    I have gone through a lot of DSA courses but this one is the top notch and even shouldn't be available for free...

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

    Yes its really blessing to come through your channel lots of love❣️

  • @mohankrishna6723
    @mohankrishna6723 4 месяца назад +1

    Hi kunal Bhaiya, I want to do project in java for placements, my college taught me basics only, and after completing this bootcamp will i be able to do my own project or any suggestions that need to be followed. Please do reply, your reply might help me a lot.