1. Write a JAVA program that will input Employee Name, Rate per hour, No. of hours worked and will compute the daily wage of an employee. If the number of hours worked exceeds eight hours add 30% to each excess hours as overtime rate. Formula: Daily Wage = Rate per hour * No. of hours worked + OT pay
2. Create a JAVA program that will input a student name, course, student grade in quiz, seatwork, laboratory exercises, assignment and prelim exam. Compute and output the Prelim Grade. Prelim Grade = Quiz * 25% + Seatwork * 10% + lab. Exercise * 20% +
Assignment * 5% + Prelim Exam * 40%
3. Create a JAVA program that will input a value of measure in inches and output its equivalent in measure feet. Conversion Factor: 12 inches = 1 foot
4. Create a JAVA program that will input an integer and output its square and cube;
Example: 52 = 25 53 = 125
Input an integer: 5 <enter>
The square of a 5 is 25
The cube of 5 is 125
Comments
Dear visitor, please use panel for submitting new questions
Can you give me the sample code of question number 2?
Dear visitor, please use panel for submitting new questions
2. Create a JAVA program that will input a student name, course, student grade in quiz, seatwork, laboratory exercises, assignment and prelim exam. Compute and output the Prelim Grade. Prelim Grade = Quiz * 25% + Seatwork * 10% + lab. Exercise * 20% + Assignment * 5% + Prelim Exam * 40%
Leave a comment