79560453

Date: 2025-04-07 17:16:42
Score: 1
Natty:
Report link

By using while loop, write a JS program to print the numbers from 100 to 1.

<script type="text/javascript">
  for (let i =100; i >=1; i--) {
    if (i>0) {
      document.write('The Number is' + i + '<br>');
    }
  }
</script>

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bharath kumar ch