acm-mjct / Utilities

8 stars 86 forks source link

Create SumOfOdds.js #239

Closed shehlayesha closed 2 years ago

shehlayesha commented 2 years ago

The program to print the sum of all the odd numbers between the given two numbers is written in JavaScript. The starting and ending integers are stored in variables start and end respectively. A for loop is used to proceed further