Page not loading? Try clicking here.
Placeholder

#232

Function 3 - Formative Assessment 2 1s - MB

Problems

Receive a natural number N as input, and write a program using a recursive function that prints all odd numbers from 1 to N if N is odd, and all even numbers from 2 to N if N is even.


Example

15
1 3 5 7 9 11 13 15

Source

자기주도C언어프로그래밍

You must sign in to write code.