Challenge for Arrays and Loops
Challenge
You will be given an array of numbers ar
. Print each number in the array in the order it appears, unless the number is a multiple of 3. If a number is a multiple of 3, print no3
instead.
(Make sure to print everything in a given array on the same line.)
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.