15. Write the following code using for loop.
i) var = 10
while (i>=1)
document.write(i);
i=i-i;
Answers
Answered by
7
Answer:
var i = 10;
for (i=i; i >=1; i=i-i)
{
Console.WriteLine(i);
}
Explanation:
Similar questions