Frage im Vorstellungsgespräch bei Deloitte

Write a code to print odd numbers in an array.

Antwort im Vorstellungsgespräch

Anonym

8. Sept. 2023

for(auto x : nums) { if(x%2==1) cout<< x << endl; }