Super Simple Java Project

Ok …
So these are my school projects , You will do these 3 simple JAVA Project , I Will show them to the Instructor , If he Confirm it is correct ,you will get the money, Otherwise after making the corrections you will get the money. Also keep in mind if you accept the project you have agreed to what I said above.
Project submission will consist of a printed listing of all class files for the project,
program output at execution and a printout of any input and/or output data file content.

#1) Write a program that generates three random integers between 0 and 50,
calculates the average, and prints the result.

#2)Write a program that takes two ints as input from the keyboard, representing the
number of hits and the number of at-bats for a batter. Then calculate the batter’s
hitting percentage and check if the hitting percentage is above .300. If it is, output
that the player is eligible for the All Stars Game; otherwise, output that the player
is not eligible.

#3)Write a class encapsulating the concept of a course grade, assuming a course
grade has the following attributes: a course name and a letter grade. Include a
constructor, the accessors and mutators, and methods toString and equals. Write
a client class to test all the methods in your class.

Deadline is June 27th 2010.

Leave a Reply

Your email address will not be published. Required fields are marked *