Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In Java Intelli J please dont need to be detailed, will give thumbs up right away Write a program that asks the user to enter
In Java Intelli J please
dont need to be detailed, will give thumbs up right away
Write a program that asks the user to enter a number of rows and a number of columns (using two different prompts). The program should then print a rectangle containing # and @ characters. The selection of these characters should be random. For instance, if I user enters rows = 5, and columns = 7, one possible output would be as follows: #@@#@## @@@##@# ##@#@## #@@#@## Or if the user entered rows = 3 and cols = 5 ###@@ @@#@@ @##@# Note: Each time the program is run, it will produce another random pattern - therefore you must use Math.random to accomplish thisStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started