English, asked by riteshxettrii, 3 months ago

write a program in javascript to print first 10 number using do while loop​

Answers

Answered by sanskritigupta2020
2

Answer:

as I know python language so

Explanation:

i=1

sum=0

while i<=10:

sum = sum +i

i=i+1

print ("sum")

hope this program will help you ;

Similar questions