Write ONE Java statement that computes and displays a random number between 1 and 25.

What will be an ideal response?

System.out.println("Random number between 1 and 25 " + Math.round((Math.random() * 25)));

Computer Science & Information Technology

You might also like to view...

To find a synonym for a word, ________ the word and point to Synonyms on the shortcut menu

A) right-click B) left-click C) select D) double-click

Computer Science & Information Technology

The ________ attribute of the bgsound element specifies the number of times the sound will repeat

Fill in the blank(s) with correct word

Computer Science & Information Technology