#include <stdio.h>
int odd();
int num = 1;
void even(){
if(num<=10) {
printf("even no = %d\n", num-1);
num++;
odd();
}
return 0;
}
void odd() {
int num = 1;
if(num<=10) {
printf("odd no = %d\n", num+1);
num++;
even();
}
return 0;
}
int main() {
odd();
}
To embed this program on your website, copy the following code and paste it into your website's HTML: