pls help

weirdo_xto's Avatar, Join Date: Mar 2007
Light Poster
can you make a program in C that inputs 10 numbers and output if it is odd or even and the number from lowest to highest... pls ^^
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Looks like its your assignment and its you who should be doing it. We can always help you in the process but just can't give you all the code you need to submit to your faculty
weirdo_xto's Avatar, Join Date: Mar 2007
Light Poster
just a code for odd or even...pls
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Code:
if(number%2 == 0)
  printf("Number is Even");
else
  printf("Number is Odd");
cheap freelancer's Avatar, Join Date: Jun 2007
Newbie Member
Code:
for(int i=0; i < 10;i++) {
cout << "Enter a number" << endl;
cin >> number;
if(number%2 == 0)
  printf("Number is Even");
else
  printf("Number is Odd");
}