Creating a multiplication program using do while loop........... let n = prompt("Enter the value of n"); n = Number.parseInt(n); let i =0; do{i++ console.log(i+"X"+n +"=" +i*n) }while (i
aise hi teacher ki zaroorat hai colleges me jo real time me wo cheeze bhi karke dikhayen jisse humara computer crash ho sakta hai. literally this man has scrificed his entire lifetime for quality education for free, even when he could have earned millions of dollars working for a MNC, he really understands the feeling of not getting quality education for free. HATS OFF TO YOU HARRY BHAI 🙏
Sir you are jsut brilliant.i am house wife right now...with your course I feel like yeahhhhhh now I can do something thankyou so much Harry sir lots of love
circus sahi tha ...bs video dekh raha tha lekin jb apne ye circus dikhaya to mene bhi try kiya or while lopp smjh me aa gya ..isiliye app ye sb krte raha kro maja ata hai wo sbb krne me coding ko intresting bna dete ho app
bhai Editing ek Number in all videos of this course, or mazza aa rha padne mai, circus nhi karna tha...😅 Thank you so much for such an amazing course for free...
//table program Using do-while loop// let num = prompt("Enter The Value which you want to get table") let i = 1; do { console.log(num, " * ", i, " = ", num*i); i++; } while(i
Hi Harry bhai I am from Pakistan I completed your html and css course and now learning this course your videos helps me alot thank you may Allah bless you more😊❤️ One thing I want to say ( circus acha nahi hai 😋👍😂)
// Q. Write a Program To Add n Natural Numbers By Using While Loop. let sum = 0; let n = prompt("Enter The Numbers"); n = Number.parseInt(n); let i = 0; while(i
Brilliant Harry bhai❤️❤️ I love your way of teaching...just everything is perfect...your notes, memes vedio editing....just everything Love from Pakistan 🇵🇰
While loop Example: let a= prompt("What is your first number? : ") a= Number.parseInt(a) rec= "Recommandation: set the value of i= 0" console.log(i) let i= prompt("What is your second number? : ") i= Number.parseInt(i) while(i
let n= 5; n=Number.parseInt(n) while(n>=1){ console.log(n + "Harry Bhai is Great ") n--: Result - 5Harry Bhai is great 4Harry Bhai is great 3Harry Bhai is great 2Harry Bhai is great 1Harry Bhai is great
You are an inspiration for beginner coders like us. its been a great journey since I started watching your tutorials. Thank you so much for these wonderful contents..@CodeWithHarry..💌💌.. And haan sir circus achha nhi hai...🤣🤣🤣🤣
quick quiz // do-while loop let n = prompt("Enter the value of n") // user se value manga n = Number.parseInt(n) // value ko ineger-number me convert let i = 1; do{ console.log(i) i++; }while (i < n)
For those, who are facing difficulty in executing Prompt in Replit. You can try adding Const prompt = require(‘prompt-sync’)(); in the very beginning of the program. Prompt will start working.
hi, Adding const prompt = require('prompt-sync')(); to the very beginning of the program fixed it for me. for ex. const prompt = require('prompt-sync')(); let n = prompt("Enter the number: "); n = Number.parseInt(n); let i = 0; while (i < n) { console.log(i); i++; }
Code For the Factorial Part using While Loop: const prompt= require("prompt-sync")(); // n= Number.parseInt(n) let fac = 1; let i =0; let n = prompt("Enter the value of n: ") n= Number.parseInt(n) while(i
// sum of first n natural numbers using while loop let n = prompt("enter the value of n for sum ") n = Number.parseInt(n) let i = 0 var sum = 0 while (i
//For in loop Quiz let totalmarks = 100; const marks = { Harry: 70, Uzair: 80, Umer: 60, Shehroz: 40, Shayan: 30 }; for(let a in marks){ console.log('The marks of ' + a + ' are ' + marks[a] + ' out of ' + totalmarks); }
@umer feroz The marks of Harry are 70 out of 100 The marks of Uzair are 80 out of 100 The marks of Umer are 60 out of 100 The marks of Shehroz are 40 out of 100 The marks of Shayan are 30 out of 100
// write a program that can display even numbers let a = prompt("enter your number") a = Number.parseInt(a) let i = 0; while(a>i){ i+=1 i++ console.log(i) }
same bhai me bhi pichli loop wali video dekh ke chul machi thi, mere sath bhi yahi hua but me brave browser use kr rha tha, mujhe bhi emergency shut down krna pda because pura laptop hang ho gya 😂😂😂😂, but we are humans, andekhi chizo pr vishwas nhi krte,😂, must try dosto ek bar try krke dekho mza ayega🤣
// Q. Write a Program To Multiply First n Factorial Numbers By Using While Loop. let fact = 1; let n2 = prompt("Enter The Number"); n2 = Number.parseInt(n2); let i = 1; while(i
// Q. Write a Program To Add n Natural Numbers Using D0-While Loop. let sum = 0; let n1 = prompt("Hey! Enter The Numbers To Add The Value"); n1 = Number.parseInt(n1); let i = 0; do{ sum += i+1; i++; }while(i
//factorization using for loop let ans = 5; for (let i = 1; i < 5; i++) { ans = ans * i } console.log(ans) //factorization using do while loop let fact = 5; let p = 1 do{ fact = fact * p p++; } while( p< 5) console.log(fact)
Kya yaar circus ho gaya is video me poora 😂😅
🤣🤣🤣 Lekin maja aaya bhai sikhh kar. Thank you so much
Lol...Harry bhai is joking rare in comments 😁
Circus accha nhi h🤣🤣
😂😂😂 harry bhai lots of love
what are you planning for 10 million ?
any special video ?
ya you will reach 10 M soon we can do that.
Thank you for sacrificing your 64 GB RAM and Ryzen 9 for us.
Creating a multiplication program using do while loop...........
let n = prompt("Enter the value of n");
n = Number.parseInt(n);
let i =0;
do{i++
console.log(i+"X"+n +"=" +i*n)
}while (i
let n=parseInt(prompt("enter a number "))
let i=1+
while (i
Teachers don't just teach they prepare us for the ahead🙏🙏 I Love You Harry Bhai❤❤
aise hi teacher ki zaroorat hai colleges me jo real time me wo cheeze bhi karke dikhayen jisse humara computer crash ho sakta hai.
literally this man has scrificed his entire lifetime for quality education for free, even when he could have earned millions of dollars working for a MNC, he really understands the feeling of not getting quality education for free.
HATS OFF TO YOU HARRY BHAI
🙏
Factorial via While loop:
n = prompt("Enter the Number")
n = Number.parseInt(n)
let factorial = 1;
let i = 1;
while(i
Wrong output
@@daniyalmasood9996 Nahi sahi hai output
galat program hai bhaii..
@@astroblemegaming6294 bro it's wrong it always return that number which you entered
@@daniyalmasood9996 Its working on replit
sense of humour of editor and harry both are epic
Huge respect for you sir for putting out such good videos, please keep up the good work.
do while loop
let a=10;
do{
console.log(i)
i++;
}while(i
Sir you are jsut brilliant.i am house wife right now...with your course I feel like yeahhhhhh now I can do something thankyou so much Harry sir lots of love
I hope you achieve something maam
Going great!👍👍
Yes #HarryBhai Shaktiman ha..!
Great keep leaning.
Sir aise padhne ke baad bor ni hote...aur doubt bhi ni rahte ... thankyou sir
Maine 2 hour me 10 lectures complete kar liye !!
Thanks a billion, watching you from Toronto being a student, learning a lot from your amazing videos, Great content.
@@wahabkhokhar8826 tum na kro kro
@@funnycartoonstory07863 Meri frontend complete hi chuki har bat main rai deny ki zaroorat nhin hoti
// write a program to demonstrate while loop
let a = prompt("Enter a number you want to print:-");
a = Number.parseInt(a);
let i = 1;
while (i
Sir i watch your c language full course and your way of explanation is boom😅
Thank you so much sir ji 🙏🙏
circus sahi tha ...bs video dekh raha tha lekin jb apne ye circus dikhaya to mene bhi try kiya or while lopp smjh me aa gya ..isiliye app ye sb krte raha kro maja ata hai wo sbb krne me coding ko intresting bna dete ho app
bhai Editing ek Number in all videos of this course, or mazza aa rha padne mai,
circus nhi karna tha...😅
Thank you so much for such an amazing course for free...
///FACTORIAL USING WHILE LOOP
let fact = 1;
let n = prompt("ENTER A NUMBER");
n = Number.parseInt(n);
let i = 1;
while(i
No need of fact because it can be executed by using n and i🙂
@@itsshowtime2600 can you send code
How do u access prompt and alert in vs code without error???
@@tanishbhardwaj1813 you have to create an html file and link it with java script file
Kahe ko karne ka circus ...hats off to you Harry bhai
//code executing while loop
let n=prompt("Enter a number:")
n=Number.parseInt(n)
let i=0;
while(i
//table program Using do-while loop//
let num = prompt("Enter The Value which you want to get table")
let i = 1;
do {
console.log(num, " * ", i, " = ", num*i);
i++;
} while(i
let n=prompt("Enter the value of number")
n=Number.parseInt(n)
let fac=2 i=2;
while(i
n = prompt("Enter the Number")
n = Number.parseInt(n)
function fact(x) {
let factorial = 1;
let i = 1;
while(i
Function abhi kaha padhaya hai bro
(i
// Program for factorial of n //
let fact=1
let n=prompt("enter the value of n")
n= Number.parseInt(n)
for(let i=1;i
Thank you Harry for the wonderful sessions, the sessions are very useful. Much Appriciated!
// while loop quick quiz
let n = prompt("Enter the value of n")
n = Number.parseInt(n)
let f = 1, i = 0;
while(i
Hey Harry, great video. Thank you for providing english subtitles!
let b = prompt("enter the value of")
b = Number.parseInt(b)
let i = 99;
do {
console.log(b)
i++;
} while (i < b)
Hi Harry bhai I am from Pakistan I completed your html and css course and now learning this course your videos helps me alot thank you may Allah bless you more😊❤️
One thing I want to say
( circus acha nahi hai 😋👍😂)
// Q. Write a Program To Add n Natural Numbers By Using While Loop.
let sum = 0;
let n = prompt("Enter The Numbers");
n = Number.parseInt(n);
let i = 0;
while(i
Brilliant Harry bhai❤️❤️ I love your way of teaching...just everything is perfect...your notes, memes vedio editing....just everything
Love from Pakistan 🇵🇰
Iski gaane mein maar0 pakistani hai
let a = prompt("Give me the value of n");
n = parseInt(a)
const i = 0;
while (i < n){
console.log(i);
i++;
}
TypeError de rha hai kia galti kiya me?
While loop Example:
let a= prompt("What is your first number? : ")
a= Number.parseInt(a)
rec= "Recommandation: set the value of i= 0"
console.log(i)
let i= prompt("What is your second number? : ")
i= Number.parseInt(i)
while(i
bhai in dono mai kya differnce hn .. both of these lopps operates in sAME WAY
@@mohammadalfazafan6665 while loop ko samaj lo bas. Do while loop use nahi hota ab
Best Tutorial for Javascript in the history of youtube......
let n= 5;
n=Number.parseInt(n)
while(n>=1){
console.log(n + "Harry Bhai is Great ")
n--:
Result - 5Harry Bhai is great
4Harry Bhai is great
3Harry Bhai is great
2Harry Bhai is great
1Harry Bhai is great
Thank you so much sir 💘
What an amazing course 💙🥰🌹
let n =prompt("enter the value of n")
n = Number.parseInt(n)
let i = 0;
while(i
@CodeWithHarry we want a complete MERN stack tutorial after this JS session is over.
Yes
let a =Number(prompt("enter a number: "))
let fact =1;
let i =1;
while(i
Thank you very very much Harry Sir for the awesome course 🥰
// QuickQuiz - Write a sample program demonstarting while loop
let n = 100;
let i = 0;
while(i
Learning from USA. great job sir !
You are an inspiration for beginner coders like us. its been a great journey since I started watching your tutorials.
Thank you so much for these wonderful contents..@CodeWithHarry..💌💌..
And haan sir circus achha nhi hai...🤣🤣🤣🤣
console.log("hello");
let num = prompt("give me a number");
let i = 1;
let factorial = 1;
while(i
Such grt tutorials 🙏
w3 should add console.tullu as replacement of console.log
#console.tullu
Log is best
@@semicolon6499 its just a joke tullu vai
quick quiz
// do-while loop
let n = prompt("Enter the value of n") // user se value manga
n = Number.parseInt(n) // value ko ineger-number me convert
let i = 1;
do{
console.log(i)
i++;
}while (i < n)
Sir, please start a crash course on C program. Mainly loops in C are difficult.to understand
One of Best coding teacher.
How different is type script from javaScript?
difference between jsx and tsx ?
Can you make a course which the very fundamentals of REACT JS.
very little difference if you ask me
Let n = prompt (" enter the value n ")
Let n= 1
N. Number. Percent ( n)
While ( i> n)
Console. Log( i)
I++
7:18 - Circus accha nahi hai 😂😂😂😂
You are a legendary teacher.
Circus is bad bad
*Quick Bug*
let n = prompt("Enter the value of n");
n = Number.parseInt(n);
let i = 0;
while(i
Console.log("I");
Ye hoga
Code Backup Repository: github.com/CodeWithHarry/ultimate-js-course-youtube
harry bhai kya karo kuch din sa koshish kar raha ho string number ma change nahi ho raha ha
harry bhai kya karo kuch din sa koshish kar raha ho string number ma change nahi ho raha ha
let number = prompt("Enter your number")//Input
number = Number.parseInt(number)//Conversion of string into number
.
.
.
Hope it helped you ❤
notes provide kr do plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
You will be never bored in Harry bhai's classes....Circus bada funny tha waise😂😂
For those, who are facing difficulty in executing Prompt in Replit.
You can try adding
Const prompt = require(‘prompt-sync’)();
in the very beginning of the program.
Prompt will start working.
Thanks it is working, how?
I m just beginner.
Circus accha nhi hai lekin haris bhai joker accha hai😂
Salute to you for your way of teaching🖖
Press ctrl+alt+del keys to close app in such conditions. It will help
circus taught us what not to do!! but u r good trainer and entertainer in between lessons!!
//sample program of do-while loop
let a = prompt("Enter any value")
let i = 0
do{
console.log(i+1)
i++;
}while(i
Daring teacher! Hats off to you! Thanks for this awesome video
Thank you so much harry bhai for giving us the best course for free
quick quiz
let n = prompt("Enter the n")
n = Number.parseInt(n)
let i = 0;
while (i
hi, Adding const prompt = require('prompt-sync')(); to the very beginning of the program fixed it for me. for ex.
const prompt = require('prompt-sync')();
let n = prompt("Enter the number: ");
n = Number.parseInt(n);
let i = 0;
while (i < n) {
console.log(i);
i++;
}
Let n = prompt ( "enter the value is n")
Let n = 8
While ( I
let n = prompt("Enter the value of n")
n = Number.parseInt(n)
let i = 0;
while(i
let m=prompt("put a number to divide itself")
m=Number.parseInt(m)
let n=1;
while(n
Code For the Factorial Part using While Loop:
const prompt= require("prompt-sync")();
// n= Number.parseInt(n)
let fac = 1;
let i =0;
let n = prompt("Enter the value of n: ")
n= Number.parseInt(n)
while(i
// while loop
let n = prompt("Enter the value of n: ");
n = Number.parseInt(n);
let i=0;
while(i
let z= prompt("PRACTISE QUESTION")
z=Number.parseInt(z)
do{
console.log(z)
z++;
}while(z >=100)
let b=prompt("Enter a number: ");
b=Number.parseInt(b);
let factorial=1;
do{
factorial*=b;
b--;
}while(b>0)
console.log(factorial);
One of my favourite video in this playlist 😉
// sum of first n natural numbers using while loop
let n = prompt("enter the value of n for sum ")
n = Number.parseInt(n)
let i = 0
var sum = 0
while (i
//For in loop Quiz
let totalmarks = 100;
const marks = {
Harry: 70,
Uzair: 80,
Umer: 60,
Shehroz: 40,
Shayan: 30
};
for(let a in marks){
console.log('The marks of ' + a + ' are ' + marks[a] + ' out of ' + totalmarks);
}
@umer feroz
The marks of Harry are 70 out of 100
The marks of Uzair are 80 out of 100
The marks of Umer are 60 out of 100
The marks of Shehroz are 40 out of 100
The marks of Shayan are 30 out of 100
let n=prompt("what is your number ");
n=Number.parseInt(n);
let i=10;
do{
console.log(i);
i++;
}
while(i
// write a program that can display even numbers
let a = prompt("enter your number")
a = Number.parseInt(a)
let i = 0;
while(a>i){
i+=1
i++
console.log(i)
}
same bhai me bhi pichli loop wali video dekh ke chul machi thi, mere sath bhi yahi hua but me brave browser use kr rha tha, mujhe bhi emergency shut down krna pda because pura laptop hang ho gya 😂😂😂😂, but we are humans, andekhi chizo pr vishwas nhi krte,😂, must try dosto ek bar try krke dekho mza ayega🤣
Awesome
// Factorial via While loop:
n = prompt("Enter the Number")
n = Number.parseInt(n)
let factorial = 1;
let i = 1;
while(i
thanks harry bhai😇😇😇
// Q. Write a Program To Multiply First n Factorial Numbers By Using While Loop.
let fact = 1;
let n2 = prompt("Enter The Number");
n2 = Number.parseInt(n2);
let i = 1;
while(i
You are such good teacher
Quality content following the whole playlist...thanks bro...
Best teacher in the world
let tab = prompt("Enter a Number");
tab = Number.parseInt(tab);
let i = 1;
while(i
nice
Bhai iske baad agar Ese hi React Ultimate Tutorial Shuru ho jaye, To Mazza aa Jaye...Thanks a lot bro.
// Q. Write a Program To Add n Natural Numbers Using D0-While Loop.
let sum = 0;
let n1 = prompt("Hey! Enter The Numbers To Add The Value");
n1 = Number.parseInt(n1);
let i = 0;
do{
sum += i+1;
i++;
}while(i
Simple Infinite Loops
for(;;);
while(1);
do ; while(1);
😊
this course is awesome but the main thing is that you name the third chapter of video "for loop" instead of "do while loop"
Love you Bhai kasam sy itna acha AP samjhaty hoo love you from Pakistan 💓💓💓
//factorization using for loop
let ans = 5;
for (let i = 1; i < 5; i++) {
ans = ans * i
}
console.log(ans)
//factorization using do while loop
let fact = 5;
let p = 1
do{
fact = fact * p
p++;
}
while( p< 5)
console.log(fact)
let n=prompt("Enter the value of number")
n=Number.parseInt(n)
let fac=2
i=2;
do{
console.log(i)
fac*=i
i++;
}while("run")
console.log(fac)
harry bhai you are real khatro ke khiladi
I am come from Sigma Batch to learn JavaScript Deeply
7:32
While loop me true ki jagah odd likh do guys
Thank me later😊
Sir you are mind blowing
Circus accha hai bhai ek number bhai
Thank you bhaiya 🎉