Question: In Java create 30 random integers in a range from (10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38,

In Java create 30 random integers in a range from (10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40). When the number 10 is printed out, instead print out X, when 20 is generated instead display XX, when 30 is generated display XXX, and when 40 is generated display XL. This should be a 6 x 5 table and it should be left aligned. Thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!