hi there ! im new to programming , i cant figured out how to determine the highest even number and the lowest odd number among three numbers in C . does anyone out there have an idea ? i badly need your help . tnx in advance :)))
theCompiler 0 Light Poster
Recommended Answers
Jump to PostSo do you know (for example) how to tell if a number is even or odd?
Do you know how to arrange 3 numbers in order, ignoring the even/odd part of the problem?
Jump to PostFurther, what does
if(iNum%2==0)
have to do with iNum1, iNum2 or iNum3 (the 3 values you read in).Are you allowed to use arrays for this problem?
All 5 Replies
Salem 5,265 Posting Sage
theCompiler 0 Light Poster
theCompiler 0 Light Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Salem 5,265 Posting Sage
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.