For Loops in JavaScript | JavaScript Tutorial in Hindi #9

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ม.ค. 2025

ความคิดเห็น • 1.2K

  • @CodeWithHarry
    @CodeWithHarry  2 ปีที่แล้ว +99

    On your request, I have revamped the channel membership and added more levels.
    Click the join button to check out more - th-cam.com/channels/eVMnSShP_Iviwkknt83cww.htmljoin

    • @muhammadzain9199
      @muhammadzain9199 2 ปีที่แล้ว

      kindly also teach about nested loops ,functioning of nested loops, nested arrays and their functioning😀

    • @kiranpandya138
      @kiranpandya138 2 ปีที่แล้ว +1

      @@muhammadzain9199 yes I also think of this.

    • @jaykishankashyap1837
      @jaykishankashyap1837 2 ปีที่แล้ว +2

      // factorial to number//exercise 01:=
      /*let a=1;
      let n=prompt("enter the number")
      for(i=1;i

    • @prithammahato1915
      @prithammahato1915 2 ปีที่แล้ว

      enjoying . thank you

    • @shane.0999
      @shane.0999 ปีที่แล้ว +1

      for ( let a = 0; a

  • @abhinitashrivastava9100
    @abhinitashrivastava9100 2 ปีที่แล้ว +260

    I am enjoying and learning well. I am a 52 years old lady but i like the way you teach. Thanks

    • @umarjanbhat3819
      @umarjanbhat3819 2 ปีที่แล้ว +15

      Quite inspirational. Are you a programmer?

    • @creativevinay8317
      @creativevinay8317 2 ปีที่แล้ว +11

      Sounds cool ✨🌈

    • @mudi-c2g
      @mudi-c2g 2 ปีที่แล้ว

      we need granny like u .their is u who is putting effort for mutual funds tally and web and their are old bitches in my society who do nothing than bitching and harrassing small souls.

    • @anmolgumbhir2037
      @anmolgumbhir2037 2 ปีที่แล้ว +33

      Mataji aashirwad dijiye ki mai acha programmer Banna paau ! 🙏🙏

    • @sukhenhalder4u
      @sukhenhalder4u 2 ปีที่แล้ว +7

      For like purpose?

  • @ankitmehra98
    @ankitmehra98 2 ปีที่แล้ว +39

    Best teacher in the world🙏🙏

  • @creativemind5549
    @creativemind5549 ปีที่แล้ว +18

    Previous month I gave my Matric exams , now my holidays are there until college opens and meanwhile I have studied html, css, with your videos thanks a lot . you are a great teacher , and now I am learning js with your help and before going to college I'll try my best to become a perfect web developer ("with your help");.

    • @enzee5238
      @enzee5238 ปีที่แล้ว

      bro lekin me notes bhi likh raha hu aur videos bhi dekh raha hu ps bhi solve karta hu lekin practise kaise karu aur kitna ye batane keliye koi nhi he aur me js language sirf fun keliye sikh raha hu kyunki me jr college ka student hu

  • @hrishabhkumar1954
    @hrishabhkumar1954 2 ปีที่แล้ว +49

    I have high hopes from this course. I am highly determined to complete this course. Till now it's going smooth, just keep providing the notes bro.

    • @nirupambhandari9192
      @nirupambhandari9192 ปีที่แล้ว

      Hi kumar are u studying JS can we do group study

    • @outofspeedyt2589
      @outofspeedyt2589 ปีที่แล้ว

      @@nirupambhandari9192 I guess we can, Im a 13 year old btw

    • @atharvdevdairies
      @atharvdevdairies ปีที่แล้ว

      @@outofspeedyt2589 bro iam also interested

    • @atharvdevdairies
      @atharvdevdairies ปีที่แล้ว

      @@outofspeedyt2589 iam also 13 yo

    • @outofspeedyt2589
      @outofspeedyt2589 ปีที่แล้ว

      @@atharvdevdairies are you on instagram? if yes please share it to me

  • @sampannabhattarai6677
    @sampannabhattarai6677 2 ปีที่แล้ว +23

    11:19
    let n = prompt("write the number of which you wanna see the multiplication table of")
    for (let i = 1; i

    • @HamzaTaj-pt4my
      @HamzaTaj-pt4my ปีที่แล้ว +1

      let n = prompt("Write the number for which you want to see the multiplication table of");
      n = parseInt(n); // Convert the input to an integer
      for (let i = 1; i

  • @keerioahmed4892
    @keerioahmed4892 2 ปีที่แล้ว +11

    Just love the way he explains things with so much simplicity and humour!! Does not even feel like we are studying but having fun!

  • @firefistanime9815
    @firefistanime9815 2 ปีที่แล้ว +2

    let n = prompt("Enter a number!!");
    let facto = 1;
    for (let i = 0; i < n; i++) {
    facto *= i + 1;
    }
    console.log(facto);

    • @Gurlyshorts
      @Gurlyshorts 10 วันที่ผ่านมา

      there is an error you didnt defined "n variable".

  • @vishu3766
    @vishu3766 2 ปีที่แล้ว +19

    //Factorial using loop
    let fact = 1;
    let n = prompt("Enter the value of n::");
    n = Number.parseInt(n);
    if (n == 0 || n == 1)
    {
    console.log("Fact = ",n);
    }
    else
    {
    for(let i = 1; i

    • @sarimali3576
      @sarimali3576 ปีที่แล้ว

      bhai for loop ko use krty huwy ye program bnaoo
      btw this is also good..
      here is my little effort,,
      let fact=1;
      let n=prompt("enter the value of n");
      n=Number.parseInt(n);
      for (let i=0;i

    • @jagrutinikam1778
      @jagrutinikam1778 ปีที่แล้ว

      @@sarimali3576 thanks for this help your code helps me ,when i was in fond of fact. code.👍

    • @sarimali3576
      @sarimali3576 ปีที่แล้ว

      @@jagrutinikam1778 welcome brother

    • @syedmaheboob9203
      @syedmaheboob9203 4 หลายเดือนก่อน

      Good but 0 ka factorial 1 hai bhai uska liye ek aur else condition dalni hogi

    • @Ibamath.0260
      @Ibamath.0260 2 หลายเดือนก่อน

      He did bro in the first condition

  • @sunnydevan8557
    @sunnydevan8557 2 ปีที่แล้ว +3

    fac = 1
    let n = prompt("The factorial of n")
    n = Number.parseInt(n)
    for(i=0; i

    • @devtomar8472
      @devtomar8472 ปีที่แล้ว

      😢😢Bhaiyon mere prompt wala koi bhee code repl me execute nahi ho raha hai, bar bar prompt undefined aa raha hai kaise solve hogi ye problem, agar kisi ko pata hai toh mujhe suggest kar do😢😢

    • @youtubelagent6338
      @youtubelagent6338 9 หลายเดือนก่อน

      @@devtomar8472 same problem

    • @umarbutt7950
      @umarbutt7950 7 หลายเดือนก่อน

      @@devtomar8472 node js allow nahi karta prompt browser k inspect section mai karlo try

    • @EchoesOfpain_tamim7
      @EchoesOfpain_tamim7 4 หลายเดือนก่อน

      ​@@devtomar8472vs code pe karo

    • @shashankgoud6812
      @shashankgoud6812 3 หลายเดือนก่อน

      i+1 will return wrong I guess. if 5 input hai toh it will start from 1 but end at 6. last 5 bhi +1 hoga which is wrong

  • @muhammadabdullahamir5843
    @muhammadabdullahamir5843 2 ปีที่แล้ว +7

    for loop for getting squares of numbers:
    let square;
    number = prompt("What is your number")
    number = Number.parseInt(number)
    for(let i = 0;i

    • @officiall_nightmare6637
      @officiall_nightmare6637 2 ปีที่แล้ว +2

      isme direct square = number *number bhi kr skte hai so that extra value nahi aayega console me. correct me if i am wrong i am a beginner🙏🏻

  • @im.vishalanand
    @im.vishalanand 2 ปีที่แล้ว +1

    //factorial using for loop
    let fact = 1
    let n = prompt("Enter the value of n: ")
    n = Number.parseInt(n)
    for (let i = 0; i< n; i++) {
    fact = fact * (i+1)
    }
    console.log("The fact of " +n+ " natural number is " +fact)
    console.log("Thanks a lot Harry bhaiya. Your videos are amazing.")

  • @tonyconor681
    @tonyconor681 2 ปีที่แล้ว +3

    I am 65yrs old person ,I love the way you present everything so simple

    • @python12180
      @python12180 8 หลายเดือนก่อน +1

      kyu fek rha hey?

  • @CHE10DIARY
    @CHE10DIARY 2 ปีที่แล้ว

    let factoral = 0
    let n = prompt("enter your number")
    n=Number.parseInt(n);
    for(i=1; i

  • @agozthapz8670
    @agozthapz8670 2 ปีที่แล้ว +32

    Factorial in loop:
    let fact = 1
    let n = prompt("Enter the number:")
    n = Number.parseInt(n);
    for (let i = 1; i

    • @NoobCoder623
      @NoobCoder623 2 ปีที่แล้ว

      why it's showing prompt is not defined when i do the same in vs code

    • @faisal7476
      @faisal7476 2 ปีที่แล้ว +1

      @@NoobCoder623 prompt doesnt work in vs code even with node. try to execute inside a browser, then it will work. Hope this may help.

    • @NoobCoder623
      @NoobCoder623 2 ปีที่แล้ว +1

      @@faisal7476 thanks mate

    • @GarhwaliTuber
      @GarhwaliTuber 2 ปีที่แล้ว

      @@NoobCoder623 bro because your node.js is not installed firstly install that.

    • @NoobCoder623
      @NoobCoder623 2 ปีที่แล้ว

      @@GarhwaliTuber it is already installed mate

  • @engineersubhanshu
    @engineersubhanshu ปีที่แล้ว +1

    let f = 1
    let n = prompt("enter the n number")
    n = Number.parseInt(n)
    for(let i = 0; i < n; i++){
    f *= (i+1)
    }

  • @NotUnknownCoder
    @NotUnknownCoder 2 ปีที่แล้ว +6

    Bhai This Course Is Insane!
    The Production Quality is Amazing And Aap Jab thora sa Mazak krte ho Video mein and memes add krte ho tau aur bhi maza ajata hai
    Keep it Up!

  • @ALLROUNDERSHORTBANDA
    @ALLROUNDERSHORTBANDA 5 หลายเดือนก่อน +1

    let n= parseInt(prompt("enter a number "));
    let fac;
    for (i=1;i

    • @ALLROUNDERSHORTBANDA
      @ALLROUNDERSHORTBANDA 5 หลายเดือนก่อน +1

      // for in loop
      let obj = {
      subam :3,
      tupha :4,
      rabin :6,
      }
      for (let a in obj) {
      console.log(" the marks "+a+ "a re " + obj[a])
      }
      // for of loop
      for (let b of "harry"){
      console.log(b)
      }

  • @sidd_shaikh
    @sidd_shaikh 2 ปีที่แล้ว +3

    The way you are teaching is really understandable
    Kul milakar thank you harry sir 👏

  • @farzanna
    @farzanna 2 ปีที่แล้ว +1

    looks like I will be a pro after watching all your videos, cannot Thank you enough. Tooo too Good.

  • @sandeepsolanki193
    @sandeepsolanki193 2 ปีที่แล้ว +5

    really it is amazing
    this is outstanding JavaScript course where we will learn too much new skills from the harry sir..

  • @prasadnawale25
    @prasadnawale25 2 ปีที่แล้ว +1

    console.log("hello world")
    let n = prompt("enter a number for 1 to n square ")
    for(let i = 1; i

  • @madhuryar.p5070
    @madhuryar.p5070 2 ปีที่แล้ว +3

    Never seen a hardworking person like him

  • @mmsharmma6789
    @mmsharmma6789 8 หลายเดือนก่อน +1

    let sum = 1;
    let n = prompt("Enter the value of n");
    n = Number.parseInt(n);
    for (let i = 1; i < n; ++i) {
    sum *= i; // this is adding 0 + 1 + 2 +3 if number is 3 in prompt
    }
    console.log("factorial of " + n + " is " + sum);

    • @Shrey-n4c
      @Shrey-n4c 8 หลายเดือนก่อน

      try my program buddy
      let prompt=require('prompt-sync')();
      let n=prompt("enter the value of n");
      n=Number.parseInt(n);
      let sum=1;
      for(i=n;i>0;i--)
      {
      sum*=(i)
      console.log(+sum)
      }
      console.log("factorial of" +n + "is" +sum)

  • @somok1000
    @somok1000 ปีที่แล้ว +3

    Loving the course so far.. so smooth and brilliant explanantion with each topic practically covered!

  • @masterbabymadhavverma4036
    @masterbabymadhavverma4036 2 ปีที่แล้ว +1

    let factorial = 1;
    let n = prompt("enter a number");
    n = Number.parseInt(n);
    for(let i =0; i < n; i++){
    factorial *= (i+1);
    }
    console.log("factorial of" + n + "is :" + factorial);

    • @aidynonwzm
      @aidynonwzm 2 ปีที่แล้ว +2

      let number = prompt("Enter the number to find : ")
      let factorial = 1
      number = Number.parseInt(number)
      for (let i = 1; i

  • @matrixcoderdev
    @matrixcoderdev 2 ปีที่แล้ว +4

    This JavaScript Course is Life Changing

    • @devtomar8472
      @devtomar8472 ปีที่แล้ว

      😢😢Bhaiyon mere prompt wala koi bhee code repl me execute nahi ho raha hai, bar bar prompt undefined aa raha hai kaise solve hogi ye problem, agar kisi ko pata hai toh mujhe suggest kar do😢😢

    • @SaharshKhalokar
      @SaharshKhalokar 10 หลายเดือนก่อน

      @@devtomar8472 mera bhi nahi chal rha

  • @gtpt4897
    @gtpt4897 2 ปีที่แล้ว +2

    11:00 This can be written in simple way like this:
    let Num = prompt("Enter the number: ");
    Num = Number.parseInt(Num);
    let Nnum = 0
    for(let i = 0; i < Num; i++){
    console.log(i)
    Nnum = Nnum + i
    }
    console.log(" ")
    console.log("Natural numbers")
    console.log(Nnum)

    • @shyy3607
      @shyy3607 2 ปีที่แล้ว

      Nhi chalega bhai chla kr dek le....sum of n number aana chiye....sum glt ayega ismae

    • @RAJSINGH-hn8yq
      @RAJSINGH-hn8yq 2 ปีที่แล้ว

      there is only one mistake with your code and that is " i

  • @kuldipsarvaiya6550
    @kuldipsarvaiya6550 2 ปีที่แล้ว +5

    //chapter-3PS /- Question-3
    while(1){
    var a=prompt("enter value of a");
    alert("try again");
    if(a==0){
    break;
    }
    }
    alert("game over")

  • @karanbhandari1534
    @karanbhandari1534 2 ปีที่แล้ว

    let fac = 1;
    let n = prompt("type a number here...")
    n = Number.parseInt(n);
    for(let i=0; i

  • @wah33dshah
    @wah33dshah 2 ปีที่แล้ว +7

    Love and respect from Pakistan 🇵🇰😍😍

  • @dhirajx
    @dhirajx 2 ปีที่แล้ว +11

    amazing content. better than any paid courses out their!!!! hats off bro

  • @AkashKumar-qm1hx
    @AkashKumar-qm1hx ปีที่แล้ว +1

    let multy = 1
    let n = prompt("enter your natural number")
    n = Number.parseInt(n);
    for(let i=0; i

  • @adityakamble7506
    @adityakamble7506 2 ปีที่แล้ว +4

    Multiplication table using for loop:
    let n = 1
    let num = prompt("enter your number")
    num = Number.parseInt(num)
    for (let n = 1; n < 11 ; n++){
    console.log(num, "x", n , "=", num * n )
    }

    • @sagarm17
      @sagarm17 ปีที่แล้ว

      Bhai error dega ye code

    • @adityakamble7506
      @adityakamble7506 ปีที่แล้ว

      @@sagarm17 Nhi bro...ye code 100% chalega

    • @sagarm17
      @sagarm17 ปีที่แล้ว +2

      @@adityakamble7506 I think
      let num = promt("enter your number")
      This is correct na?

  • @amitnayak9866
    @amitnayak9866 2 ปีที่แล้ว +1

    //Fact of a number
    let fact=1
    let n = prompt("Enter the value of n")
    for(i=0;i

  • @alpanakushwaha9109
    @alpanakushwaha9109 ปีที่แล้ว +16

    for-of loop are used only for Arrays or Strings (that gives the value), not on object. For-in loop are used on objects that can be used to get primarily the 'keys' and then the 'values'😁

    • @faziel.sheikh
      @faziel.sheikh ปีที่แล้ว +2

      thankyou 🙃

    • @devtomar8472
      @devtomar8472 ปีที่แล้ว

      😢😢Bhaiyon mere prompt wala koi bhee code repl me execute nahi ho raha hai, bar bar prompt undefined aa raha hai kaise solve hogi ye problem, agar kisi ko pata hai toh mujhe suggest kar do😢😢

    • @mehatajbegumshaik7582
      @mehatajbegumshaik7582 ปีที่แล้ว

      add const prompt = require("prompt-sync")(); in starting of your code
      @@devtomar8472

    • @aniketpalwalia2331
      @aniketpalwalia2331 ปีที่แล้ว

      bhai console ma chala code ko jab tak koi solution na mila
      @@devtomar8472

  • @Hitesh-g3s
    @Hitesh-g3s ปีที่แล้ว

    let pro=1
    let n= prompt("Enter the value of n")
    n=Number.parseInt(n)
    for(let i=0 ;i < n ; i++)
    {pro*=(i+1)}
    console.log("The factorial of "+n+ " is "+pro)

  • @educationalxentertainmente9351
    @educationalxentertainmente9351 2 ปีที่แล้ว +15

    The program that adds the first n Natural number can also be written as:
    let n = prompt("Enter the number")
    n = Number.parseInt(n)
    alert("the sum of first " + n + " natural numbers are " + n*(n+1)/2)

    • @SatyugHere
      @SatyugHere 2 ปีที่แล้ว +4

      Bhai Kya output Aayega iska ?

    • @ADITYA-bd8mu
      @ADITYA-bd8mu 2 ปีที่แล้ว +1

      @@SatyugHere first n natural number ko add kare ke output dega

    • @codedaily365
      @codedaily365 2 ปีที่แล้ว +2

      lol good!

    • @umarjanbhat3819
      @umarjanbhat3819 2 ปีที่แล้ว +2

      he was using for loop.. is mai use nai hoga... square aur cubes ka b daal do

    • @educationalxentertainmente9351
      @educationalxentertainmente9351 2 ปีที่แล้ว +2

      @@umarjanbhat3819 there is no Square, Qube & rocket science applied! its a simple maths formula applied here

  • @shauryalavhekar4855
    @shauryalavhekar4855 2 ปีที่แล้ว +5

    Sir am understanding the concepts easily and its fun doing the program..sir thank you for helping us. Love from maharashtra

  • @nonstopnj
    @nonstopnj ปีที่แล้ว

    Instead of i < n you can write i

  • @CodeWithHarry
    @CodeWithHarry  ปีที่แล้ว +8

    Code Backup Repository: github.com/CodeWithHarry/ultimate-js-course-youtube

    • @archminecraft1338
      @archminecraft1338 ปีที่แล้ว +1

      shiv hi kyu acha bacha nahi hai 13:00

    • @fareehaliaqat9627
      @fareehaliaqat9627 ปีที่แล้ว

      harry sir plz provide the notes i cant download it from your website

    • @sushmadevcode
      @sushmadevcode 2 หลายเดือนก่อน

      Harry prompt is not working in online complier it's giving, is prompt only works for repel?

    • @sushmadevcode
      @sushmadevcode 2 หลายเดือนก่อน

      Gives error like this
      index.js:2
      let n = prompt("enter value of n");
      ^
      ReferenceError: prompt is not defined
      at Object. (/index.js:2:9)
      at Module._compile (node:internal/modules/cjs/loader:1469:14)
      at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
      at Module.load (node:internal/modules/cjs/loader:1288:32)
      at Module._load (node:internal/modules/cjs/loader:1104:12)
      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
      at node:internal/main/run_main_module:28:49

  • @abhishekkumarnigam1060
    @abhishekkumarnigam1060 ปีที่แล้ว +1

    let factorial =1
    let n = prompt('give me a number')
    n = Number.parseInt(n)for (let i=0 ; i

    • @imabhinavs
      @imabhinavs 10 หลายเดือนก่อน

      wrong answer, the correct one is:
      let n = parseInt(prompt("Enter the number :"));
      let fact = 1;
      for(let i = 1; i

  • @sadhik_shaik2006
    @sadhik_shaik2006 7 หลายเดือนก่อน +4

    //writing a program using for loop
    const prompt = require("prompt-sync")();
    let name = prompt("enter your name ");
    let hmt = prompt("enter how many times you want to print your name ");
    hmt = parseInt(hmt);
    for(i=0;i

    • @Pritamgarai2003
      @Pritamgarai2003 6 หลายเดือนก่อน

      Thank you bro...thank u so much . finally my prompt working 😢😢

    • @keshavmishra3023
      @keshavmishra3023 6 หลายเดือนก่อน

      Thx dude now prompt is working!!!!

  • @akashbhatiya8055
    @akashbhatiya8055 ปีที่แล้ว

    let n = prompt("Enter any number fro factorial output as n: ")
    let fact=1;
    for(let i=0;i

  • @vansh1190
    @vansh1190 2 ปีที่แล้ว +3

    Day 9 #100DaysOfCode with CODEWITHHARRY,
    Javascript,
    for ,for of & for in loops in Javascript.

  • @HukkaMaar
    @HukkaMaar ปีที่แล้ว +1

    example
    let mul = 1
    let n=prompt('enter the value of n')
    n = Number.parseInt(n)
    for(let i=1; i

  • @jane_rosso
    @jane_rosso 2 ปีที่แล้ว +3

    Thank you so much sir 💘
    What an amazing course 💙🥰🌹

  • @devtomar8472
    @devtomar8472 ปีที่แล้ว +1

    1:40 Harry bhai is a legend singer 😂😂

  • @shambhavirai2815
    @shambhavirai2815 2 ปีที่แล้ว +6

    I love the way you explain it. Speaks a lot about the command you have on the subject😃

  • @sahiludanwala1689
    @sahiludanwala1689 2 ปีที่แล้ว

    for sum of first n numbers:
    let num = 0
    let n = prompt("enter the value of n")
    for(i=0 ; i

  • @jayeshsinghania643
    @jayeshsinghania643 2 ปีที่แล้ว +5

    for (let i = 0; i < 100000000; i++)
    console.log(i);
    I wrote the above code and Repl took almost 7-8 minutes to execute it. It was fun

    • @ssun098
      @ssun098 2 ปีที่แล้ว

      low specs system.

    • @ranaasad5076
      @ranaasad5076 2 ปีที่แล้ว

      masti kr rayan hein shorya 😂😂

  • @shivanandsingh1234
    @shivanandsingh1234 2 ปีที่แล้ว +2

    i also have high hopes from this tutorial ,please clearfying everything and teach as we are just a nursery kids

  • @KathBaatkasheer
    @KathBaatkasheer 2 ปีที่แล้ว +6

    For Factorial task:
    let fact = 1
    let n = prompt("Enter the value of n")
    n = Number.parseInt(n)
    for(let i = 1; i

  • @maxhydraulicfun6728
    @maxhydraulicfun6728 ปีที่แล้ว

    11:58
    quick quiz no#1
    let factorial = 1
    let num = prompt("Enter a number ")
    for(let i = 1 ;i

  • @wealth_wheel_
    @wealth_wheel_ 2 ปีที่แล้ว +11

    Practice Quiz-
    Its a program for getting the table of the number you will provide
    let m = 0;
    let n = prompt('Enter your number');
    n = Number(parseInt(n));
    for(let i = 1; i

    • @athuislive4917
      @athuislive4917 2 ปีที่แล้ว

      great job bro

    • @umarjanbhat3819
      @umarjanbhat3819 2 ปีที่แล้ว

      @@adityapanchal534 what is this logic? 🤔🤔🤔🤔🤔🤔🤔

    • @umarjanbhat3819
      @umarjanbhat3819 2 ปีที่แล้ว +1

      console.log(n, '*', i, '=', n*i) should work as well without using m.

    • @adityapanchal534
      @adityapanchal534 2 ปีที่แล้ว

      @@umarjanbhat3819 oops sorry, i written wrong logic, i will write right logic after some time

    • @mohammadalfazafan6665
      @mohammadalfazafan6665 ปีที่แล้ว

      @@umarjanbhat3819 i isnt defined since let only works under the blocks

  • @technoworld7609
    @technoworld7609 2 ปีที่แล้ว

    You are best teacher for every programm in TH-cam harry bhai

  • @saifuddinnajmuddin4719
    @saifuddinnajmuddin4719 2 ปีที่แล้ว +10

    Respected Sir,
    I saw your old angry moments of harry. I just want to say to you that you inspire me a lot. I have learned programming from your channel and you make commendable videos and just like this, make different videos and your course has helped me a lot,
    I cannot thank you enough and just always bring such amazing video for us.
    Hope negative comments do not matter to you :)

    • @NotUnknownCoder
      @NotUnknownCoder 2 ปีที่แล้ว

      Yes We Support Your Hard Work #HarryBhai
      Keep Making These Incredible Videos and Courses

  • @ayanshah8799
    @ayanshah8799 ปีที่แล้ว

    sum = 0;
    let n=prompt("enter the number of factorze")
    n=Number.parseInt(n);
    for(let i=0; i

  • @stutyapatwal
    @stutyapatwal 2 ปีที่แล้ว +4

    Best coder in the world is here

  • @Wajeehasaleem26
    @Wajeehasaleem26 ปีที่แล้ว

    what a great way of teaching. simply love💌

  • @astroblemegaming6294
    @astroblemegaming6294 2 ปีที่แล้ว +5

    Program to give factorial of n:
    n = prompt("Enter the Number")
    n = Number.parseInt(n)
    let factorial = 1;
    for(let a = 1; a

    • @prianshu_33
      @prianshu_33 ปีที่แล้ว

      thanks bro I was doing factoral = 0 instead 1, then i relized if i use 0 and then multiply, the answer will be 0 . Thanks again

  • @nitintyagi1451
    @nitintyagi1451 ปีที่แล้ว

    let mul = 1;
    let n = prompt("enter value of n");
    n=Number.parseInt(n);
    for(let i = 0;i

  • @sameerrana6356
    @sameerrana6356 2 ปีที่แล้ว +4

    Amazing videos you're making, keep up the good work!

  • @yellayiaruna6170
    @yellayiaruna6170 2 ปีที่แล้ว +5

    Hi Harry,
    Can you please explain patterns (ex: Square, Right triangle, Right Triangle (reverse etc.))

    • @Ahtesham731
      @Ahtesham731 ปีที่แล้ว

      Interview question

  • @Official-fruity110
    @Official-fruity110 5 หลายเดือนก่อน

    const prompt = require("prompt-sync")();
    let sum = 0
    let a = prompt("Enter the value of n")
    a = Number.parseInt(a);
    for(i=0 ; i

  • @Blessedgamer01
    @Blessedgamer01 2 ปีที่แล้ว +4

    Thank you Bhai, I have a few questions, but I think I will try find it myself.
    Thank you for your tutorial videos.
    Can I learn full advanced python, in 1month?

  • @BikramKumar-sv7pn
    @BikramKumar-sv7pn 2 ปีที่แล้ว

    let fac =1
    let n = prompt("Enter the value of n")
    n =Number.parseInt(n)
    for (let i=1; i

  • @saptarshikar7907
    @saptarshikar7907 2 ปีที่แล้ว +6

    For each loop???

  • @darshankalamkhede4385
    @darshankalamkhede4385 2 ปีที่แล้ว

    //Factorial program
    multiple = 1
    n = prompt("Enter your number for factorial")
    n = Number.parseInt(n)
    for (i = 0; i < n; i++) {
    multiple *= i + 1
    }
    console.log(multiple)

  • @subhamdhar8203
    @subhamdhar8203 2 ปีที่แล้ว

    // Ex-3 //finding factorial of first 5 natural number
    // let factorial = 1;
    // let n = prompt('Enter the value of n');
    // n = Number.parseInt(n);
    // for (let i = 0; i < n; i++) {
    // factorial *= (i+1);
    // console.log((i + 1), '*')
    // }
    // console.log('The factorial of first ', n, ' natural number is ', factorial);

  • @AmirKhan-wm8jo
    @AmirKhan-wm8jo 2 ปีที่แล้ว

    Lovvee uuhhh tooo bahut saara harry bhai ko.... 🎊🎊🪄🪄 bahut support hai aapka hum beginners ko 🙏🏻🙏🏻 dil se shukriya 🎊🎊🪄🪄❤️❤️

  • @niravvaghela634
    @niravvaghela634 11 หลายเดือนก่อน

    I'm 107 years old body but sir I'm enjoying this course u r excellent ❤ i want to be great programmer 😇

  • @mrsatyavishwakarma4309
    @mrsatyavishwakarma4309 2 ปีที่แล้ว

    Apke padhane se sir easy ho jata hai padhna❤❤

  • @silicon8065
    @silicon8065 ปีที่แล้ว

    Q. Program to add factorial numbers?
    let sum=1
    let n = prompt("Enter number");
    n = Number.parseInt(n)
    for(let i=1; i

  • @realcarheroes3664
    @realcarheroes3664 2 ปีที่แล้ว +1

    Thank you soooooo much bhai, mazaa aa rha,,,
    😍😍

  • @sufiyanmogal1527
    @sufiyanmogal1527 ปีที่แล้ว

    // Program to calulate factorial of n
    /*
    let n = prompt("Enter the value of n");
    n = Number.parseInt(n);
    let fact = 1;
    for(let i=0;i

  • @vinayakkp201
    @vinayakkp201 ปีที่แล้ว

    best video . i have made my first successful factorial program after watching this

  • @ankuofficial
    @ankuofficial 2 ปีที่แล้ว

    // factorial in JS
    let fact = 1
    let n = prompt("Enter the value of n")
    n = Number.parseInt(n)
    for(let i=0; i

  • @manoharsinhsodha7247
    @manoharsinhsodha7247 2 ปีที่แล้ว

    Arre arre bhai maja hi aa gaya aapka video aa gaya dekhke aaise hi roz videos dalte raho aur aage badho aur hum b aage badhe aapke sath thank you harry bhai

  • @Love_14April
    @Love_14April ปีที่แล้ว

    // finding out factorial
    // let factorial=1;
    // let n = prompt("Please enter the value of which you would like to factorial")
    // n = Number.parseInt(n)
    // for(let i=1; i

  • @AmitKumar-xx7zj
    @AmitKumar-xx7zj ปีที่แล้ว

    Harry bhai app bahut ache se complex cheeze bhi samjhate ho, Thank you so much Harry bhai

  • @indeedvaloaddict
    @indeedvaloaddict 2 ปีที่แล้ว

    let sum = 0;
    let n = prompt("what is the value of n?");
    n = Number.parseInt(n);
    for(let i =0; i < n; i++) {
    sum+= i+1;
    }
    console.log("sum of " + n + " natural number" ,"is " + sum);

  • @nileshvishwakarma8166
    @nileshvishwakarma8166 2 ปีที่แล้ว +2

    Always great to know that you are doing well!

  • @onfire166
    @onfire166 2 ปีที่แล้ว +1

    Sir you are the best but you could use for(let i=0 ; i

  • @hubdum6033
    @hubdum6033 ปีที่แล้ว

    let fact = 1;
    let n = prompt("enter the number whose factorial is to be calculated");
    n = number.parseInt(n);
    for( let i =1 ; i

  • @mscit_08_omprakash40
    @mscit_08_omprakash40 2 ปีที่แล้ว +1

    Half god is known as codewithharry ❤️

  • @manemanoj3068
    @manemanoj3068 2 ปีที่แล้ว +1

    Maza aa gaya Harry bhai..

  • @DiyaDave-l6v
    @DiyaDave-l6v 5 หลายเดือนก่อน

    thanks a lot for these video i am 14 years old i am learning coding and your videos are to helpful for me thanks again sir

  • @suravihara396
    @suravihara396 2 ปีที่แล้ว +1

    let fac=1;
    let n = prompt("Enter a number");
    n = Number.parseInt(n);
    for(let i=0;i

  • @shivamtiwari4293
    @shivamtiwari4293 2 ปีที่แล้ว +2

    Knowledgeable👍👍👍 Thanks for making this JavaScript course🙏🙏🙏

  • @hafsasheikh878
    @hafsasheikh878 4 หลายเดือนก่อน

    JAZAK ALLAH for enjoyable explanation harry

  • @aloktamrakar9541
    @aloktamrakar9541 2 ปีที่แล้ว +1

    Great harry bhai love your content ♥♥

  • @abhinavrawat7999
    @abhinavrawat7999 2 ปีที่แล้ว +2

    This series is really interesting! ❤❤

  • @raosaran1025
    @raosaran1025 ปีที่แล้ว

    I am really enjoying ur every video best mentor ever

  • @RahulMathpal
    @RahulMathpal ปีที่แล้ว

    whenever i want to start a new topic i always want to go with ur video

  • @outofspeedyt2589
    @outofspeedyt2589 ปีที่แล้ว

    11:22
    let n = prompt("Enter a number to see its multiples")
    for (let i = 1; i

  • @arjunmalpaniff
    @arjunmalpaniff 11 หลายเดือนก่อน

    factorial program
    let factorial = 1
    let n = prompt("Enter the value of 'n'")
    n = Number.parseInt(n)
    for (i=0 ; i

  • @softenginetechnologies9956
    @softenginetechnologies9956 2 ปีที่แล้ว

    Harray bhai i like your style "Qull mila k"

  • @Code-TTK
    @Code-TTK 3 หลายเดือนก่อน

    11:13 Here I made a loop for printing multiplicative tables:
    // Sample For Loop - Multiplication Table
    let tableOf = prompt('Enter your number: ')
    tableOf = Number.parseInt(tableOf)
    for(let m = 1; m

  • @gaminghunter800
    @gaminghunter800 2 ปีที่แล้ว

    1:43 Donald Duck😂😂..But loves you style of teaching☺