Write a c++ program from lists to input 10 numbers & store them in the list.from the list create two more list one containing even numbers another containing odd numbers.Output all three lists.
1
Expert's answer
2012-03-20T12:02:29-0400
C++ Write a c++ program from lists to input 10 numbers & store them in the list. from the list create two more list one containing even numbers another containing odd numbers. Output all three lists.
# include<iostream.h> # include<conio.h>
int i; int num[10], odd[10], even[10]; int numodd=0, numeven=0;
Comments
Leave a comment