On your request, I have revamped the channel membership and added more levels. Click the join button to check out more - kzbin.info/door/eVMnSShP_Iviwkknt83cwwjoin
@muhammadzain91992 жыл бұрын
kindly also teach about nested loops ,functioning of nested loops, nested arrays and their functioning😀
@kiranpandya1382 жыл бұрын
@@muhammadzain9199 yes I also think of this.
@jaykishankashyap18372 жыл бұрын
// factorial to number//exercise 01:= /*let a=1; let n=prompt("enter the number") for(i=1;i
@prithammahato1915 Жыл бұрын
enjoying . thank you
@shaneilahi9528 Жыл бұрын
for ( let a = 0; a
@abhinitashrivastava91002 жыл бұрын
I am enjoying and learning well. I am a 52 years old lady but i like the way you teach. Thanks
@umarjanbhat38192 жыл бұрын
Quite inspirational. Are you a programmer?
@creativevinay8317 Жыл бұрын
Sounds cool ✨🌈
@mudi-c2g Жыл бұрын
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 Жыл бұрын
Mataji aashirwad dijiye ki mai acha programmer Banna paau ! 🙏🙏
@sukhenhalder4u Жыл бұрын
For like purpose?
@creativemind5549 Жыл бұрын
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 Жыл бұрын
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
@ankitmehra982 жыл бұрын
Best teacher in the world🙏🙏
@siddhantkumar68012 жыл бұрын
Right bro
@sunnydevan85572 жыл бұрын
fac = 1 let n = prompt("The factorial of n") n = Number.parseInt(n) for(i=0; i
@devtomar84729 ай бұрын
😢😢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😢😢
@youtubelagent63386 ай бұрын
@@devtomar8472 same problem
@umarbutt79505 ай бұрын
@@devtomar8472 node js allow nahi karta prompt browser k inspect section mai karlo try
@Tamim71111Ай бұрын
@@devtomar8472vs code pe karo
@shashankgoud681222 күн бұрын
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
@vishu37662 жыл бұрын
//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 Жыл бұрын
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 Жыл бұрын
@@sarimali3576 thanks for this help your code helps me ,when i was in fond of fact. code.👍
@sarimali3576 Жыл бұрын
@@jagrutinikam1778 welcome brother
@syedmaheboob9203Ай бұрын
Good but 0 ka factorial 1 hai bhai uska liye ek aur else condition dalni hogi
@hrishabhkumar19542 жыл бұрын
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 Жыл бұрын
Hi kumar are u studying JS can we do group study
@outofspeedyt2589 Жыл бұрын
@@nirupambhandari9192 I guess we can, Im a 13 year old btw
@atharvdevdairies Жыл бұрын
@@outofspeedyt2589 bro iam also interested
@atharvdevdairies Жыл бұрын
@@outofspeedyt2589 iam also 13 yo
@outofspeedyt2589 Жыл бұрын
@@atharvdevdairies are you on instagram? if yes please share it to me
@sampannabhattarai66772 жыл бұрын
11:19 let n = prompt("write the number of which you wanna see the multiplication table of") for (let i = 1; i
@HamzaTaj-pt4my Жыл бұрын
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
harry sir plz provide the notes i cant download it from your website
@ALLROUNDERSHORTBANDA3 ай бұрын
let n= parseInt(prompt("enter a number ")); let fac; for (i=1;i
@ALLROUNDERSHORTBANDA3 ай бұрын
// 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) }
@muhammadabdullahamir58432 жыл бұрын
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_nightmare66372 жыл бұрын
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🙏🏻
@firefistanime9815 Жыл бұрын
let n = prompt("Enter a number!!"); let facto = 1; for (let i = 0; i < n; i++) { facto *= i + 1; } console.log(facto);
@keerioahmed48922 жыл бұрын
Just love the way he explains things with so much simplicity and humour!! Does not even feel like we are studying but having fun!
@mmsharmma67895 ай бұрын
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-n4c5 ай бұрын
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)
@madhuryar.p50702 жыл бұрын
Never seen a hardworking person like him
@im.vishalanand2 жыл бұрын
//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.")
@SatveerSingh-ir1fi Жыл бұрын
Also i = 1 , i
@kuldipsarvaiya65502 жыл бұрын
//chapter-3PS /- Question-3 while(1){ var a=prompt("enter value of a"); alert("try again"); if(a==0){ break; } } alert("game over")
@sidd_shaikh2 жыл бұрын
The way you are teaching is really understandable Kul milakar thank you harry sir 👏
@alpanakushwaha9109 Жыл бұрын
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 Жыл бұрын
thankyou 🙃
@devtomar84729 ай бұрын
😢😢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😢😢
@mehatajbegumshaik75829 ай бұрын
add const prompt = require("prompt-sync")(); in starting of your code @@devtomar8472
@aniketpalwalia23319 ай бұрын
bhai console ma chala code ko jab tak koi solution na mila @@devtomar8472
@prasadnawale252 жыл бұрын
console.log("hello world") let n = prompt("enter a number for 1 to n square ") for(let i = 1; i
@tonyconor681 Жыл бұрын
I am 65yrs old person ,I love the way you present everything so simple
@python121805 ай бұрын
kyu fek rha hey?
@engineersubhanshu Жыл бұрын
let f = 1 let n = prompt("enter the n number") n = Number.parseInt(n) for(let i = 0; i < n; i++){ f *= (i+1) }
@sadhik_shaik20064 ай бұрын
//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
@Pritamgarai20034 ай бұрын
Thank you bro...thank u so much . finally my prompt working 😢😢
@keshavmishra30233 ай бұрын
Thx dude now prompt is working!!!!
@abhishekkumarnigam1060 Жыл бұрын
let factorial =1 let n = prompt('give me a number') n = Number.parseInt(n)for (let i=0 ; i
@imabhinavs8 ай бұрын
wrong answer, the correct one is: let n = parseInt(prompt("Enter the number :")); let fact = 1; for(let i = 1; i
@educationalxentertainmente93512 жыл бұрын
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)
@SatyugHere2 жыл бұрын
Bhai Kya output Aayega iska ?
@ADITYA-bd8mu2 жыл бұрын
@@SatyugHere first n natural number ko add kare ke output dega
@codedaily3652 жыл бұрын
lol good!
@umarjanbhat38192 жыл бұрын
he was using for loop.. is mai use nai hoga... square aur cubes ka b daal do
@educationalxentertainmente93512 жыл бұрын
@@umarjanbhat3819 there is no Square, Qube & rocket science applied! its a simple maths formula applied here
@amitnayak98662 жыл бұрын
//Fact of a number let fact=1 let n = prompt("Enter the value of n") for(i=0;i
@sandeepsolanki1932 жыл бұрын
really it is amazing this is outstanding JavaScript course where we will learn too much new skills from the harry sir..
@AkashKumar-qm1hx Жыл бұрын
let multy = 1 let n = prompt("enter your natural number") n = Number.parseInt(n); for(let i=0; i
@TirthJoshi-qy8mv9 ай бұрын
Thanks bhai
@somok1000 Жыл бұрын
Loving the course so far.. so smooth and brilliant explanantion with each topic practically covered!
@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)
@matrixcoderdev2 жыл бұрын
This JavaScript Course is Life Changing
@devtomar84729 ай бұрын
😢😢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😢😢
@SaharshKhalokar7 ай бұрын
@@devtomar8472 mera bhi nahi chal rha
@masterbabymadhavverma4036 Жыл бұрын
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 Жыл бұрын
let number = prompt("Enter the number to find : ") let factorial = 1 number = Number.parseInt(number) for (let i = 1; i
@adityakamble75062 жыл бұрын
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 Жыл бұрын
Bhai error dega ye code
@adityakamble7506 Жыл бұрын
@@sagarm17 Nhi bro...ye code 100% chalega
@sagarm17 Жыл бұрын
@@adityakamble7506 I think let num = promt("enter your number") This is correct na?
@akashbhatiya8055 Жыл бұрын
let n = prompt("Enter any number fro factorial output as n: ") let fact=1; for(let i=0;i
@sahiludanwala16892 жыл бұрын
for sum of first n numbers: let num = 0 let n = prompt("enter the value of n") for(i=0 ; i
@agozthapz86702 жыл бұрын
Factorial in loop: let fact = 1 let n = prompt("Enter the number:") n = Number.parseInt(n); for (let i = 1; i
@NoobCoder6232 жыл бұрын
why it's showing prompt is not defined when i do the same in vs code
@faisal74762 жыл бұрын
@@NoobCoder623 prompt doesnt work in vs code even with node. try to execute inside a browser, then it will work. Hope this may help.
@NoobCoder6232 жыл бұрын
@@faisal7476 thanks mate
@GarhwaliTuber2 жыл бұрын
@@NoobCoder623 bro because your node.js is not installed firstly install that.
@NoobCoder6232 жыл бұрын
@@GarhwaliTuber it is already installed mate
@karanbhandari1534 Жыл бұрын
let fac = 1; let n = prompt("type a number here...") n = Number.parseInt(n); for(let i=0; i
@jayeshsinghania643 Жыл бұрын
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 Жыл бұрын
low specs system.
@ranaasad5076 Жыл бұрын
masti kr rayan hein shorya 😂😂
@BikramKumar-sv7pn2 жыл бұрын
let fac =1 let n = prompt("Enter the value of n") n =Number.parseInt(n) for (let i=1; i
@shauryalavhekar48552 жыл бұрын
Sir am understanding the concepts easily and its fun doing the program..sir thank you for helping us. Love from maharashtra
@CHE10DIARY2 жыл бұрын
let factoral = 0 let n = prompt("enter your number") n=Number.parseInt(n); for(i=1; i
@dhirajx Жыл бұрын
amazing content. better than any paid courses out their!!!! hats off bro
@farzanna2 жыл бұрын
looks like I will be a pro after watching all your videos, cannot Thank you enough. Tooo too Good.
@CoolBoy_Official2 жыл бұрын
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!
@ayanshah8799 Жыл бұрын
sum = 0; let n=prompt("enter the number of factorze") n=Number.parseInt(n); for(let i=0; i
@jane_rosso2 жыл бұрын
Thank you so much sir 💘 What an amazing course 💙🥰🌹
@shambhavirai2815 Жыл бұрын
I love the way you explain it. Speaks a lot about the command you have on the subject😃
@HukkaMaar Жыл бұрын
example let mul = 1 let n=prompt('enter the value of n') n = Number.parseInt(n) for(let i=1; i
@KathBaatkasheer2 жыл бұрын
For Factorial task: let fact = 1 let n = prompt("Enter the value of n") n = Number.parseInt(n) for(let i = 1; i
@thekibouminecraft9361 Жыл бұрын
u can even do (i+1) it will give u the same result
@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
@wah33dshah2 жыл бұрын
Love and respect from Pakistan 🇵🇰😍😍
@AmitKumar-xx7zj Жыл бұрын
Harry bhai app bahut ache se complex cheeze bhi samjhate ho, Thank you so much Harry bhai
@vansh11902 жыл бұрын
Day 9 #100DaysOfCode with CODEWITHHARRY, Javascript, for ,for of & for in loops in Javascript.
@darshankalamkhede4385 Жыл бұрын
//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)
@astroblemegaming62942 жыл бұрын
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 Жыл бұрын
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
@ankuofficial2 жыл бұрын
// factorial in JS let fact = 1 let n = prompt("Enter the value of n") n = Number.parseInt(n) for(let i=0; i
@saifuddinnajmuddin47192 жыл бұрын
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 :)
@CoolBoy_Official2 жыл бұрын
Yes We Support Your Hard Work #HarryBhai Keep Making These Incredible Videos and Courses
@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
@yellayiaruna61702 жыл бұрын
Hi Harry, Can you please explain patterns (ex: Square, Right triangle, Right Triangle (reverse etc.))
@Ahtesham731 Жыл бұрын
Interview question
@nonstopnj Жыл бұрын
Instead of i < n you can write i
@wealth_wheel_2 жыл бұрын
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
@athuislive49172 жыл бұрын
great job bro
@umarjanbhat38192 жыл бұрын
@@adityapanchal534 what is this logic? 🤔🤔🤔🤔🤔🤔🤔
@umarjanbhat38192 жыл бұрын
console.log(n, '*', i, '=', n*i) should work as well without using m.
@adityapanchal5342 жыл бұрын
@@umarjanbhat3819 oops sorry, i written wrong logic, i will write right logic after some time
@mohammadalfazafan6665 Жыл бұрын
@@umarjanbhat3819 i isnt defined since let only works under the blocks
@shivanandsingh12342 жыл бұрын
i also have high hopes from this tutorial ,please clearfying everything and teach as we are just a nursery kids
@stutyapatwal2 жыл бұрын
Best coder in the world is here
@Official-fruity1103 ай бұрын
const prompt = require("prompt-sync")(); let sum = 0 let a = prompt("Enter the value of n") a = Number.parseInt(a); for(i=0 ; i
@sameerrana63562 жыл бұрын
Amazing videos you're making, keep up the good work!
@nitintyagi1451 Жыл бұрын
let mul = 1; let n = prompt("enter value of n"); n=Number.parseInt(n); for(let i = 0;i
@Blessedgamer012 жыл бұрын
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?
@dhruvsingh2949 Жыл бұрын
yess
@mrsatyavishwakarma43092 жыл бұрын
Apke padhane se sir easy ho jata hai padhna❤❤
@saptarshikar79072 жыл бұрын
For each loop???
@aneesshaikh22004 ай бұрын
In php not in java
@subhamdhar82032 жыл бұрын
// 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);
@indeedvaloaddict2 жыл бұрын
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);
@AmirKhan-wm8jo2 жыл бұрын
Lovvee uuhhh tooo bahut saara harry bhai ko.... 🎊🎊🪄🪄 bahut support hai aapka hum beginners ko 🙏🏻🙏🏻 dil se shukriya 🎊🎊🪄🪄❤️❤️
@suravihara396 Жыл бұрын
let fac=1; let n = prompt("Enter a number"); n = Number.parseInt(n); for(let i=0;i
@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
@arjunmalpaniff8 ай бұрын
factorial program let factorial = 1 let n = prompt("Enter the value of 'n'") n = Number.parseInt(n) for (i=0 ; i
@silicon8065 Жыл бұрын
Q. Program to add factorial numbers? let sum=1 let n = prompt("Enter number"); n = Number.parseInt(n) for(let i=1; i
@vinayakkp201 Жыл бұрын
best video . i have made my first successful factorial program after watching this
@gtpt48972 жыл бұрын
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)
@shyy36072 жыл бұрын
Nhi chalega bhai chla kr dek le....sum of n number aana chiye....sum glt ayega ismae
@RAJSINGH-hn8yq2 жыл бұрын
there is only one mistake with your code and that is " i
@technoworld76092 жыл бұрын
You are best teacher for every programm in KZbin harry bhai
@Sandeepsingh-io1tt2 жыл бұрын
Bhai thanks apki video dekh kr muje bhi IT field me jana ka dil kr rha hai
@sunilkulkarni5118 Жыл бұрын
let fact=1; let n = prompt("enter the value of n"); n=Number.parseInt(n); for(i=1;i
@Wajeehasaleem26 Жыл бұрын
what a great way of teaching. simply love💌
@aaiiosshbaj39075 ай бұрын
11:13 To find even numbers upto given number prompt = require('prompt-sync')(); const ev = 0 let n = prompt("Enter a number upto which you want to see even numbers: ") n = Number.parseInt(n) for (let u = n; u 1; u--){ if (u % 2 == 0){ console.log(u) } }
@sumidey95382 жыл бұрын
let mul = 1; let n = prompt('The number is n'); n = Number.parseInt(n); for(i=0;i
@techpediahub Жыл бұрын
amazing course ever thanks harry bhai bohot maza a rha hai javascript sikhnay main.
@DiyaDave-l6v2 ай бұрын
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
@maxhydraulicfun6728 Жыл бұрын
11:58 quick quiz no#1 let factorial = 1 let num = prompt("Enter a number ") for(let i = 1 ;i
@RudyGaming-v2h Жыл бұрын
for getting factorial of first n natural number entered by the user ..... let mul = 1; let m = prompt("Enter the value of m"); m = Number.parseInt(m); for(let i=1; i
@onfire1662 жыл бұрын
Sir you are the best but you could use for(let i=0 ; i
@manemanoj30682 жыл бұрын
Maza aa gaya Harry bhai..
@hafsasheikh8782 ай бұрын
JAZAK ALLAH for enjoyable explanation harry
@Skumar43-l7c Жыл бұрын
//sum and product of n natural number //for loop const prompt = require("prompt-sync")(); let num=prompt("enter number to find sum of n natural number"); let sum=0; let fact=1; num=Number.parseInt(num); console.log("sum and product of n natural number is "); for(let i = 0; i
@surajsinghaniya7960 Жыл бұрын
let n = prompt('Please enter an integer'); let factorial = 1; for (i =factorial; i
@raosaran1025 Жыл бұрын
I am really enjoying ur every video best mentor ever
@MuhammadAhmad-x5p7y Жыл бұрын
to find the cube root of any number let cube; let num = prompt("Write the number to find cube root") for (let l = 1; l < num; l++) { cube = l ** 3 console.log(cube) }
@munemshahriarhemel2582 жыл бұрын
let fac=1;let n = prompt("Enter a number to calculat the factorial");for(let i=1;i
@glidethegoal532 ай бұрын
let a = 6; for (i = 0; i < a; ++i){ let b = a + i console.log(b + a + i) } /* Print 2 Numbers After 2 Numbers */
@bhavanalavhale298210 ай бұрын
Fact=1; Let n=prompt ("enter any number) ; n=Number.parseInt(n) ; For(let I=0;I
@wasimraza6175 Жыл бұрын
let name = "wasim" for(i=0;i
@manabkhan6902 Жыл бұрын
let sum=0 let a=prompt("enter number") for(let i=0;i