JavaScript Exercise 1: Solution & Shoutouts | JavaScript Tutorial in Hindi #26

preview_player
Показать описание

python, C, C++, Java, JavaScript and Other Cheetsheets [++]:

►Learn in One Video[++]:

►Complete course [playlist]:

Follow Me On Social Media
Comment "#HarryBhai" if you read this 😉😉
Рекомендации по теме
Комментарии
Автор

Thanks You Harry Bhai !! I got the Rs 500 Amazon Voucher !! You're my Motivation & Inspiration !! You're such a great person !! 🙂🙂

ajaykharat
Автор

You are uploading such precious content thats the biggest gift for us

yusiferzendric
Автор

Hi Harry,
Firstly, Thank You for all your efforts .
A small request - Please upload the videos daily .
I am really excited to finish the course early. You have made the programming so easy to understand and implement.
I am waiting to understand closures, prototypes - The advanced JavaScript Concepts from you.

Please @HarryBhai, Thoda Jaldi complete playlist upload karo. 😇

anshikabhargava
Автор

Apka youtube pe lecture hi humare liye gift hai bhaiya...all the best and congratulation for website codeswear❤️✌️✌️✌️✌️

ManKR
Автор

Number is bigger means apko small number enter karna tha 😂

siddikgaming
Автор

Harry bro dono haath jodke thankyou aapko.... aapke padhaane ka tarika is the best --- these days I am learning python from you(your videos)---
here I made some of the solutions you asked in your old videos--(I am gonna learn the whole of it for sure guru ji)---
Calculator that solves all of the calculations correctly except these--(45*3=555, 56+9=77 and 56/6 = 4 )
it really took more than two hours to me to crack this but all thanks to you


#The Harry Sir's Calculator-

first_number = int(input()) #enter first number you want
demand = input() #select operator you want to select like(+, -, /, *)
second_number = int(input()) #enter second number you want
if first_number ==45 and second_number ==3 and demand == "*":
print("555")
print("answer as per your inputs")
if first_number ==56 and second_number ==9 and demand == "+":
print("77")
print("answer as per your inputs")
if first_number ==56 and second_number ==6 and demand == "/":
print("4")
print("answer as per your inputs")
elif demand =="+":
print(first_number + second_number)
print("answer as per your inputs")
elif demand =="/":
print(first_number / second_number)
print("answer as per your inputs")
elif demand =="*":
print(first_number * second_number)
print("answer as per your inputs")
elif demand =="-":
print(first_number - second_number)
print("answer as per your inputs")

filmyfuntoosh
Автор

We Appreciate Your Hard Work !
This JavaScript Course is So Helpful
We need Courses about Machine Learning, Android development etc

CoolBoy_Official
Автор

Hey Harry bro u know i m 16 and i'm trying to learn python through your 11 hour course it's so.. good, i also edit videos, u can keep me as your editor if u want. But, Thanks For the Information And Courses U are giving us free of cost. Thank You So much

U are the best developer ever who is increasing and sharing awareness in the fields of software development.
Can I get a heart..

teenage_expedition
Автор

Life me pehla banda dekha ha go it e high level precious courses free of cost provide karne ke sath sath apne students ko gift bhe provide karta ha love < #harrybhai

hadeedtmgggg
Автор

Thank you sir, For making videos and doing the hardwork for us even our better future.Sir, You are the Real and one of the Best "Guru". Again Thank you..♥️

OmJethva
Автор

U have a great heart broo... Proud to learn from IIT topper... 🥰🙏

KaranKumar-bqgr
Автор

Nice Sir, You made a course for your business. Thanks for that.

samuelfrank
Автор

Hi Harry,
Thank you for this amazing "the ultimate javaScript course" . I am doing this course and this exercise in march 2023 . This video make javaScript easy to us.

muhammadatique
Автор

Harry bhai, you make a great contant and specially this tutorial are very helpful for me please upload videos regularly and faster

jayeshbilwal
Автор

Harry bi you are doing very yakka in this series. We really appreciate you efforts 👌 .

wajahatalibasharat
Автор

let inp = Math.floor(Math.random()*100)
let score=100
let user

while(inp!=user){
score=score-1
user=prompt("Enter the number")
user=Number.parseInt(user)
if(user==inp){
console.log("Congratulation you have succesfully guess the number")
console.log(100-score)
}else{
if(inp>0 && inp<20){
console.log("it is between 0 to 20")
}else if(inp>20 && inp<40){
console.log("it is between 20 to 40")
}else if(inp>40 && inp<60){
console.log("it is between 40 to 60")
}else if(inp>60 && inp<80){
console.log("it is between 60 to 80")
}else if(inp>80 && inp<100){
console.log("it is between 80 to 100")
}
}

}

rajchatterjee
Автор

Amazing Bro..I am loving this series of Javascript.. I wanted to become expert in Javascript, with the help of you, its becoming possible.. Thanks a

dibyajitmazumdar
Автор

Harry Bhaiya, Thank You so much for doing so much for your learned a lot from you and looking forward to acquiring the ultimate knowledge of computer science from you..Thank You!

sumitkesarwani
Автор

my solution to this :
let count_num = 0;
function NumberGuess() {
if (guess_num < correct_num) {
alert("ITS LESSER ");
guess_num = prompt("Enter a Number again ");

}
else {
alert("ITS GREATER ");
guess_num = prompt("Enter a Number again ");

}
}

let correct_num = Math.floor((Math.random() * 100));
let guess_num = prompt("Enter a Number between 1 to 100 ");
while (guess_num != correct_num) {
NumberGuess();
count_num++;
}

alert(`, You have Entered the Correct Number "${correct_num}" after : `+ ` "${count_num} " `+ "attemps" );

kimjong-un
Автор

source code :
let random = Math.random()*100;
let random_no = Math.trunc(random)
let score = 100;
let guess;
while(guess!=random_no) {
score = score - 1;
let guess = prompt("Guess the number: ");

if(random_no==guess) {
console.log("You guessed it right and your score is ", score)
console.log("Your Total attemps is :")
console.log(`${100-score}`)
break;
}
else if(random_no>guess){
console.log("Try Bigger Number")
}
else if(random_no<guess && guess<100){
console.log("Try Small Number")
}
}
#HarryBhai #JavaScriptOP

anonymous__