QUESTION 1

Write a program using JavaFX that reads an unspecified number of integers and finds the one that has the most occurrences. The input ends when the input is 0.

For example: if you entered 2 3 40 3 5 4 –3 3 3 2 0, the number 3 occurred most often.
If several numbers have the most occurrences, all of them should be reported.
For example: Since 9 and 3 appear twice in the list 9 30 3 9 3 2 4, both occurrences should be reported.
—————————————

 

QUESTION 2
write a program using JavaFX that displays a 3 x 3 grid

Use Red color for vertical lines and Blue color for horizontal lines.

The lines are automatically resized when the window is resized.

NOTE: Programs using AWT and Swing will NOT be accepted!

USE JAVAFX WITH JGRASP

 

This question has been answered.

Get Answer