Question: Start with this vector oddNumbers(int l, int r) { //code here } Given two integers, and r, print all the odd numbers between /andr (I


Start with this
vector oddNumbers(int l, int r)
{
//code here }
Given two integers, and r, print all the odd numbers between /andr (I and r inclusive) Complete the oddNumbers function in the editor below. It has 2 parameters: 1. An integer, I, denoting the left part of the range An integer, r, denoting the right part of the range. The function must return an array of integers denoting the odd numbers between / and r Input Format Locked stub code in the editor reads the following input from stdin and passes it to the function The first line contains an integer, I, denoting the left part of the range. The second line contains an integer, r, denoting the right part of the range Constraints 1sIsrs 105 Output Format The function must return an array of integers denoting the odd numbers between /and r. This is printed to stdout by locked stub code in the editor Sample Input 0 Sample Output 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
