JAVA PLEASE
Posted: Sat Feb 19, 2022 3:20 pm
JAVA PLEASE
Question 3(5+3pts) a-Implement the following method: Public void printnumbersdividedbythree(LinkedQueue Ist) That print on screen all values that can be divided by 3. public static void printnumbersdividedbythree (LinkedQueue lst) { --Code Here------ } b-Then, in a void main method, create the following LinkedQueue. Also print all values divided by 3. 5 --> 100 --> 9 --> 200 --> 11 --> 300 --> 13 --> 400 public static void main(String[] args) { }
Question 3(5+3pts) a-Implement the following method: Public void printnumbersdividedbythree(LinkedQueue Ist) That print on screen all values that can be divided by 3. public static void printnumbersdividedbythree (LinkedQueue lst) { --Code Here------ } b-Then, in a void main method, create the following LinkedQueue. Also print all values divided by 3. 5 --> 100 --> 9 --> 200 --> 11 --> 300 --> 13 --> 400 public static void main(String[] args) { }