Answered step by step
Verified Expert Solution
Question
1 Approved Answer
help we use Eclipse. CSIS 3101 Assignment 3 Due Date: 02/02/2020 Question 1: (50 points) Write a program in JAVA using nested loops that asks
help we use Eclipse.
CSIS 3101 Assignment 3 Due Date: 02/02/2020 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(t) 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 winning lottery of a three-digit number (selected by random number generator), prompts the user to enter a three-digit number, and determines whether the user wins according to the following rule. Please use a solution that includes numbers only and no strings If the user input matches the lottery in exact order, the award is $10,000. Hall 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,000Step 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