Menu

[Solved] Write Java Program Prompts User Enter Integer Character Displays Pattern Formed Repeating Q37166143

Write java program that that prompts the user to enter aninteger and a character, and displays a pattern formed by repeatingthe character to form a square of a size indicated by the user

use method with the following signature: displayPattern(int n,char c) .

Example:

enter integer and char : 3 &

output:

& & &

& & &

& & &

Expert Answer


Answer to Write java program that that prompts the user to enter an integer and a character, and displays a pattern formed by repe… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *