Question: 3. (20 points) Write code that prints multiples of 3 from 100 down to 1 but only if the multiples are odd. However if the
3. (20 points) Write code that prints multiples of 3 from 100 down to 1 but only if the multiples are odd. However if the multiple of 3 is also a multple of 11, then instead of the number print "Yay!" (Note: There are no command line arguments and there should be no user input in this method. The output is on one line as shown below.) Yay! 93 87 81 75 69 63 57 51 45 39 Yay 27 21 15 9 3 public class Test f public static void main (String[] args) (
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
