Sollicitatievraag bij Deloitte

Write a code to print odd numbers in an array.

Antwoord op sollicitatievraag

Anoniem

8 sep 2023

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