* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
* @author KC
public class Scenario
* Midterm Practice Program
public class MidtermPractice
public static void main(String args)
/Ask the user how many times does she/he want to practice
/Loop the number o
Pseudo Code for Challenge #7
Lottery class = domain class
2 arrays in it, which are global variables (defined at top of
lotteryNumber & userLotteryPicks
In constructor of Lottery class, you are to instantiate
Random class, and generate 5 r
Define variables for the days (person
worked), days (for the numbered days),
penny, total pay (penyPay).
Using print method ask user how many
days did they work this month.
Allow user to input days with scanner kb
Write a while
Create an import java
Create a scanner class
Asks the user for their first name using the
print out method
Create a string that allows users to input
their name, input next line to allow user
space to write their name. (Input next line)