Question: Need help with this question. C++ Write a function named printOddNums to print all positive odd integers less than or equal to a max value
Need help with this question. C++
Write a function named printOddNums to print all positive odd integers less than or equal to a max value o Your function MUST be named printOddNum:s Your function takes one input argument an integer parameter representing the max value. o Your function should not return any value . Your function should print the positive odd integers less than or equal to the max value (see expected output format below) Example .When the input argument is 11, the expected output should be: 1 5 7 2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
