Write a program that finds the highest even integer among the values entered by the use. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "NO EVEN INTEGER".
example: if the values entered were 3 8 1 6 3 4 5 -5
display 8

help pls using for loop turbo c

Recommended Answers

All 2 Replies

You need to make an honest attempt to write the code for your homework, otherwise you'll receive no help.

and don't use turbo c, it's a 30 year old dinosaur. Or are you still using a 286 running DOS 3 or 4?

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.