1) Calculate Bonus Program – Create a program that will prompt the user for their name, base pay and the number of years they have worked at the company. Calculate the users bonus based on the number of years as follows:
0-5 years $1000 Bonus
6-10 Years $5000 Bonus
11-15 Years $7000 Bonus
16-20 Years $10000 Bonus
Over 20 Years $15000 Bonus
Use a print statement to display a message like the one below
“Hello Chris Your Base pay is 20000 your bonus is 5000 your total pay is 25000”
2) Loop Program – Create a program will prompt the user to enter a number then use a loop to double that number and display it each time through the loop. Make sure the loop stops before the number reaches 1000. For example if the user entered a two the program should display the following:
3) Cow Program - Create program with a class called Cow with the following instance variables; Name, weight, Birthdate, Milk-yield. Add 2 cows to the cow class. Display each cows name, weight, birthdate, and milk-yield using two separate print statements.
4) List Program – Create a program with a list that contains the months of the year. Generate a random number and use it with the list to randomly print one of the months each time the program is run.