Question: In java Write a program which prompts the user to enter a number of rows and prints a hollow right triangle star pattern. Note: you
In java

Write a program which prompts the user to enter a number of rows and prints a hollow right triangle star pattern. Note: you can assume that the number will always be greater than 1. For example: Input Result 5 Enter number of rows: 6 Enter number of rows: Answer: (penalty regime: 0, 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50 %) Reset answer 1 import java.util.Scanner; 2 public class 04 { 3 public static void main(String[] args) { 4 Scanner input new Scanner(System.in); 5 } 6)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
