Computer Science, asked by mdrakibulislam12188, 8 months ago

Write a C program that will print the odd number from 3 to 33 using a recursive function.

Answers

Answered by Anonymous
0

Answer:

Logic to print odd numbers from 1 to n using if statement

Input upper limit to print odd number from user. Store it in some variable say N .

Run a loop from 1 to N , increment loop counter by 1 in each iteration. ...

Inside the loop body check odd condition i.e. if a number is exactly divisible by 2 then it is odd.

Similar questions