Question:
I have3
values in an array.How can I write an
if
statement to check if 2
of the 3
numbers are odd to print a message?Code:
2
out of 3
numbers are odd?Answer:
Try this.If you have better answer, please add a comment about this, thank you!