How to print largest even number in given string?

#1

String: NodeJs is one of the best technology

NodeJs is one of the best technology
6 2 3 2 3 4 10

From above, how to print technology which largest even number.

How to print the largest even number?

#2

What have you tried?

2 Likes