Domanda di colloquio di Rockwell Automation

Code a program that will tell you if an integer is odd or even.

Risposta di colloquio

Anonimo

15 mar 2018

I wrote a small Java program on the white board that took an input number, did the modulus 2 of it, and if the modulus was 0 it was even and if it was not zero it was odd.

1