Q. Write a Odd and Even number pattern in C language as following:
1
2 4 6
1 3 5 7 9
2 4 6 8 10 12 14
1 3 5 7 9 11 13 15 17
Ans.
/* even odd number pattern program in c*/
#include<stdio.h>
int main()
{
1
2 4 6
1 3 5 7 9
2 4 6 8 10 12 14
1 3 5 7 9 11 13 15 17
Ans.
/* even odd number pattern program in c*/
#include<stdio.h>
int main()
{