Question: Need help with this in java CSIS3101 Assignment 3 Due Date: 02/03/2018 Question 1: (50 points) Write a program in JAVA using nested loops that

 Need help with this in java CSIS3101 Assignment 3 Due Date:

Need help with this in java

CSIS3101 Assignment 3 Due Date: 02/03/2018 Question 1: (50 points) Write a program in JAVA using nested loops that asks the user to enter a value for the number of rows to display. It should then display that many rows of asterisks, with one asterisk in the first row, two in the second row, and so on. For each row, the asterisks are preceded by the number of exclamation marks(1) needed to make all the rows display a total number of characters equal to the number of rows. A sample run would look like this: Enter number of rows: 5 Question 2 (50 points) Write a program that takes in a wrinning lottery of a three-digit number, prompts the user to enter a three-digit number, and determines whether the user wins according to the following rule: If the user input matches the lottery in exact order, the award is $10,000. If all digits in the user input match all the digits in the lottery number, the award is $7,000. If two digits in the user input match two digits in the lottery number, the award is $4,000. . If one digit in the user input matches a digit in the lottery, the award is $1,000

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!