Design two classes named Employee and PaySheet to represent employee and PaySheet data as follows: For the Employee class, the data fields are: int empNo; String name; double payRatePerHour, PaySheet[] PaySheet for four weeks (1 month), and Two other data fields of your choice. For the PaySheet class, the data fields are: String weekEndingDate; integer Array of size=5 for the five working days. Entries in this array will be integers from 0-8 where 0 means that the employee did not work that day and a value from 1 to 480 means the number of hours the employee worked in that day. All data fields should be declared as private, and associated getters and setters should be declared in each class. Create a driver class called Main, whose main method instantiates array of Employee objects and write the following methods: 1. A Method called printInfo that receives an array of Employees and prints all information about working days that looks like the following: Emp NO. Week Total Days/hours weekly Payment 1 1 1 2 2 1 2 3 1 2 4/32 5/37 3/12 1/8 3/15 400 500 300 150 450 2. Method called print WarnedEmployees that receives an array of Employees and prints the name of the employee who has a warning. An employee is warned if he is absent for two or more days in two consecutive weeks. 3. A method that receives an array of Objects and sorts unwarned Employees based on TotalPayment (in all weeks) method header must be: public static void sortEmps (Object[] o)​

Answers

Answer 1

You may quickly calculate the wage using the ready-to-use wage salary Sheet template for Excel, Sheets, OpenOffice Calc, and Apple Numbers.

Thus, This payroll document allows you to enter payroll information for many employees as well as a salary slip that is generated in accordance with employment laws in India and contains provident fund and employee allowances.

A salary sheet is a document that contains all the information regarding the payment due to an employee for work completed during a specific time period. It also includes information on things like the employees' base pay, bonuses, deductions, overtime, etc.

The HR document that businesses use to determine employee compensation is the payroll or salary sheet.

Thus, You may quickly calculate the wage using the ready-to-use wage salary Sheet template for Excel, Sheets, OpenOffice Calc, and Apple Numbers.

Learn more about Salary sheet, refer to the link:

https://brainly.com/question/15014451

#SPJ1


Related Questions

package Unit3_Mod2;


public class ImageExample3 {

public static void main (String[] argv)
{
int[][][] A = {
{
{255,200,0,0}, {255,150,0,0}, {255,100,0,0}, {255,50,0,0},
},
{
{255,0,200,0}, {255,0,150,0}, {255,0,100,0}, {255,50,0,0},
},
{
{255,0,0,200}, {255,0,0,150}, {255,0,0,100}, {255,0,0,50},
},
};

// Add one pixel on each side to give it a "frame"
int[][][] B = frameIt (A);

ImageTool im = new ImageTool ();
im.showImage (B, "test yellow frame");
}

public static int[][][] frameIt (int[][][] A)
{
static int[][][] copy(int[][][] A)
{
int i, j, x;
//declaring a new array with size of original array A
int[][][] ArrayCopy = new int[A.length][][];
//iterate through rows original array
for (i = 0; i < A.length; i++) {
ArrayCopy[i] = new int[A[i].length][];
//Iterate through columns in the array
for (j = 0; j < A[i].length; j++) {
ArrayCopy[i][j] = new int[A[i][j].length];
//iterate through third dimension
for (x = 0; x < A[i][j].length; x++) {
ArrayCopy[i][j][x] = A[i][j][x];
}
}
}
//return the copy of the original array
return ArrayCopy;
}

}


In java, change black frame border to yellow colored frame

Answers

Note that to change the black frame border to a yellow-colored frame in the given Java code, you can modify the frameIt method as follows.

What is the modified code?

public static int[][][] frameIt(int[][][] A) {

   int[][][] ArrayCopy = copy(A); // Create a copy of the original array

   

   // Iterate   over the first and lastrows

   for (int j = 0; j <   A[0].length;j++) {

       ArrayCopy[0][j][0] =255; //   Set red value to 255

       ArrayCopy[0][j][1] = 255; // Set green value to 255

       ArrayCopy[0][j][2] = 0;   // Set blue value to 0

       

       ArrayCopy[A.length - 1][j][0] = 255; // Set red value to 255

       ArrayCopy[A.length - 1][j][1] = 255; // Set green value to 255

       ArrayCopy[A.length - 1][j][2] = 0;   // Set blue value to 0

   }

   

   // Iterate over thefirst and last   columns

   for(int i = 0; i < A.length; i+  +) {

       ArrayCopy[i][0][0] = 255; //Set red value to   255

       ArrayCopy[i][0][1] = 255;   // Set green value to255

       ArrayCopy[i][0][2] = 0;   // Set blue value to 0

       

       ArrayCopy[i][A[i].length -   1][0] = 255;// Set red value to 255

       ArrayCopy[i][A[i].length -   1][1] =255; // Set green value to 255

       ArrayCopy[i][A[i].length - 1][2] = 0;   // Set blue value to 0

   }

   

   return ArrayCopy;

}

Learn more about Java:
https://brainly.com/question/26789430
#SPJ1

Which of the following queries can have a fully Meets result?

Answers

Answer: we need the awnser key

Explanation:

It is a system that is used to solve problems and interact with the environment

Variable
Computing System
Network
Computer

Answers

The term that encompasses asystem used to solve problems and interact with the environment is a "computing system."

Why is a computing system important?

Technology has improved to the point where computer systems are employed by every sector to  boost efficiency and remain ahead of their competition.

"A computing system is often made up of hardware components (such as computers and server  s) and software components (such as operating systems and apps) that collaborate to execute tasks, analyze data, and interface with people or other systems.

 It can include a variety ofdevices, networks, and computer resources to facilitate problem solving, data processing, communication, and other computational  operations.

Learn more about computer at:

https://brainly.com/question/29892306

#SPJ1

Your organization sometimes needs to securely share information with three clients organizations. What will you use so your clients get partial access to resources on your organization’s network?

Answers

Answer:

Personnellement j'utiliserai un logiciel qui permet de paramétrer la limite d'accès aux organisations sur des ressources partagées.

Explanation:

Design two classes named Employee and PaySheet to represent employee and PaySheet data as follows: For the Employee class, the data fields are: int empNo; String name; double payRate PerHour, PaySheet[] PaySheet for four weeks (1 month), and Two other data fields of your choice. For the PaySheet class, the data fields are: String weekEndingDate; integer Array of size=5 for the five working days. Entries in this array will be integers from 0-8 where 0 means that the employee did not work that day and a value from 1 to 480 means the number of hours the employee worked in that day. All data fields should be declared as private, and associated getters and setters should be declared in each class. Create a driver class called Main, whose main method instantiates array of Employee objects and write the following methods: 1. A Method called printInfo that receives an array of Employees and prints all information about working days that looks like the following: Emp NO. Week Total Days/hours weekly Payment 1 1 1 2 2 1 2312 2 4/32 5/37 3/12 1/8 3/15 400 500 300 150 450 2. Method called print WarnedEmployees that receives an array of Employees and prints the name of the employee who has a warning. An employee is warned if he is absent for two or more days in two consecutive weeks. 3. A method that receives an array of Objects and sorts unwarned Employees based on TotalPayment (in all weeks) method header must be: public static void sortEmps (Object[] o)​

Answers

A class serves as a model for generating objects through code. Objects are characterized by their member variables and their corresponding behavior.  The code is given below.

What is the class code?

The term "class" in Python is generated using the keyword "class". A new instance is generated through the usage of the class's constructor.

The function that is named "printWarnedEmployees" is one that often accepts an array containing objects of type "Employee" and show forth the name of any employee who has received a warning. If an employee is absent for two or more days in two consecutive weeks, they will be given a warning.

Learn more about class code from

https://brainly.com/question/17544466

#SPJ1

Juliet grew up in a small town with limited access to the internet, so she knew how challenging that was. After receiving an email about an organization needing computer programming tutors, Juliet decided to volunteer for the organization, which provides technology for classrooms. Based on this paragraph, what factors can influence a person to donate? Choose two answers.

Answers

Answer:

Based on this paragraph, two factors that can influence a person to donate are:

1. Personal experience or empathy: Juliet's experience growing up in a small town with limited access to the internet may have influenced her decision to volunteer for an organization that provides technology for classrooms.

2. Receiving an email or other form of communication: Juliet's decision to volunteer was based on receiving an email about the organization needing computer programming tutors, which suggests that communication can be a factor in motivating people to donate or volunteer.

Explanation:

Based on this paragraph, two factors that can influence a person to donate are:

1. Personal experience or empathy: Juliet's experience growing up in a small town with limited access to the internet may have influenced her decision to volunteer for an organization that provides technology for classrooms.

2. Receiving an email or other form of communication: Juliet's decision to volunteer was based on receiving an email about the organization needing computer programming tutors, which suggests that communication can be a factor in motivating people to donate or volunteer.

21
Select the correct answer.
Which task occurs just before the maintenance phase?
O A reviewing prerequisites
B.
final reviewing and deploying the product
C. training end users to operate the product
D.
site surveying
O E reviewing all manuals and plans
Edmentum/Plato

Answers

The task, final reviewing and deploying the product occurs just before the maintenance phase. The correct option is B.

The task that takes place just before the maintenance phase is the last review and deployment of the product.

At this step, the software or product is thoroughly examined to make sure it complies with all the prerequisites and quality standards. Before the product is deployed or made available to end users, any outstanding problems or faults are addressed and fixed.

Final testing, user acceptability testing, and preparing the product for deployment in the production environment are additional tasks included in this phase.

The product can be made available for usage by the intended end users after the final review is finished and it is determined that it is ready.

Thus, the correct option is B.

For more details regarding testing, visit:

https://brainly.com/question/31941684

#SPJ1

Select the correct answer from each drop-down menu.
Which two components help input data in a computer and select options from the screen, respectively?
✓inputs data into computers in the form of text, numbers, and commands. However, a
commands from the screen.
A
Reset
Next
✓selects options and

Answers

Which two components help input data in a computer and select options from the screen, respectively?

✓ Keyboard inputs data into computers in the form of text, numbers, and commands. However, a

✓ Mouse selects options and commands from the screen.

A

Reset

Next

To know more about input data refer here

https://brainly.com/question/30256586#

#SPJ11

The layer that represent information as Binary numbers 0s and 1s

information
communication
programming
Hardware

Answers

The layer that represent information as Binary numbers 0s and 1s "Hardware" (Option D)

Why is binary important to computing?

Binary numbers and binary math are used by computers because they considerably simplify their work. It is easier to store or modify the numbers since there are just two choices (0 and 1) for each digit rather than ten.

Hardware components of a computer system, such as transistors, logic gates, and memory circuits, process and store information using binary digits (bits), which can have a value of 0 or 1.

Learn more about Binary Numbers:
https://brainly.com/question/31662989
#SPJ1

100 POINTS Can someone help me write a code in python. a program which can test the validity of propositional logic. Remember, a propositional logical statement is invalid should you find any combination of input where the PROPOSITIONAL statements are ALL true, while the CONCLUSION statement is false.

Propositional Statements:

If someone has a rocket, that implies they’re an astronaut.

If someone is an astronaut, that implies they’re highly trained.

If someone is highly trained, that implies they’re educated.

Conclusion Statement:

A person is educated, that implies they have a rocket.

Your output should declare the statement to either be valid or invalid. If it’s invalid, it needs to state which combination of inputs yielded the statement invalid.

Answers

For the code that returns the above output see the attatched.

How does the above code work?

Rocket(), astronaut(), highly trained(), and educated() are the four functions defined in the code that correlate to the propositional propositions. These functions just return the value of the argument passed in.

The test_proposition() method examines all possible input combinations and evaluates the conclusion statement. It returns the exact combination that invalidates the assertion if any combination produces the conclusion statement as false while all propositional statements are true. Otherwise, "Valid" is returned.

Learn more about code at:

https://brainly.com/question/26134656

#SPJ1

Can someone help me out by coding this c into HLA(High Level Assembly)language. I am having so difficulty writting in HLA. That would be appreciated.
program crazy_8s;
#include ("stdlib.hhf");

static
num1: int16;
num2: int16;
num3: int16;
tens: int16;
eight_found: boolean;

begin crazy_8s;

eight_found := false;

while (1)
{
stdout.put("Gimme a number: ");
stdin.get(num1);

tens := num1 / 10 * 10;

if (tens == 8)
{
stdout.put("One of them ends in eight!");
eight_found := true;
break;
}

stdout.put("Gimme a number: ");
stdin.get(num2);

tens := num2 / 10 * 10;

if (tens == 8)
{
stdout.put("One of them ends in eight!");
eight_found := true;
break;
}

stdout.put("Gimme a number: ");
stdin.get(num3);

tens := num3 / 10 * 10;

if (tens == 8)
{
stdout.put("One of them ends in eight!");
eight_found := true;
break;
}

if (!eight_found)
{
stdout.put("Sorry Charlie! You lose the game!");
break;
}
}

end crazy_8s;

Answers

Below is the provided C code translated into HLA (High Level Assembly) language:

program crazy_8s;

#include ("stdlib.hhf")

static

num1: int16;

num2: int16;

num3: int16;

tens: int16;

eight_found: boolean;

begin crazy_8s;

   eight_found := false;

   while (1) {

       stdout.put("Gimme a number: ");

       stdin.gets(num1);

       tens := num1 div 10 * 10;

       if (tens = 8) then

           stdout.put("One of them ends in eight!")

           eight_found := true;

           break;

       endif

       stdout.put("Gimme a number: ");

       stdin.gets(num2);

       tens := num2 div 10 * 10;

       if (tens = 8) then

           stdout.put("One of them ends in eight!")

           eight_found := true;

           break;

       endif

       stdout.put("Gimme a number: ");

       stdin.gets(num3);

       tens := num3 div 10 * 10;

       if (tens = 8) then

           stdout.put("One of them ends in eight!")

           eight_found := true;

           break;

       endif

Thus, this can be the code asked.

For more details regarding HLA, visit:

https://brainly.com/question/13034479

#SPJ1

Other Questions
1. What assumptions about the impact of price changes on consumer activity does Henry Fordmake in this excerpt? social movements may fail to lead to lasting social change but still may have an impact on domestic policy by a 0.25-kg rock just balances a uniform meter stick when the pivot or balance point is at the 25 centimeter mark as shown. what is the mass (in kg) of the meter stick? Walmart claims to be a olobal business. How do you explain Walmart's level of international business to its leadership team? a. Because Walmart's intemational expansions have largely been accomplished using acquisitions, international operations function more like domestic businesses. b. Even though Walmart has international operations in 27 countries, its headquarters is in the United States. Companies operating in multiple countries - but with its primary business based in a single country-are multinational companies (MNC.). c. Walmart's level of international business is limited to the exporting of its retail business model. d. You agree with the daim. Walmart is in 27 countries, after all! why do no skin cancers develop from stratum corneum cells what are the polarities of the recb and recd subunits? If a monopolist charges the same price for all of the units of the good that S points it sells, then beyond the first unit sold: * P> MR because ... The cylinder has base radius 3x cm and height h cm. The metal cylinder is melted. All the metal is then used to make 270 spheres. Each sphere has a radius of 1/2x cmFind an expression, in its simplest form, for h in terms of x. gel-filled "pillow" between unfused vertebrae Why does weathering of granite bedrock producerounded shapes?a)the rounded shapes are pillows formed at depth inthe granitic magma b)weathering removes corners and edges, as inspheroidal weatheringc)burrowing animals eat away parts of the granited)roots rub against the edges of the granite Finish this prompt that says its been 7months since the accident and 3month of physical therapy. On his told that the person who was the prime suspect in this case has been cleared of all charges The parametric equations x = t2, y = t4 have the same graph as x = t3, y = t6. how many screws usually attach the motherboard to the computer case A population of values has a normal distribution with = 76.5 and = 4.7. You intend to draw a random sample of size n = 11.Find the probability that a single randomly selected value is greater than 72.P(X > 72) = ____Find the probability that a sample of size n = 11 is randomly selected with a mean greater than 72.P(M > 72) =Enter your answers as numbers accurate to 4 decimal places. Answers obtained using exact z-scores or z-scores rounded to 3 decimal places are accepted. Color PayoutRed $2Blue $6Green $6Yellow $20The game costs $5 to play. You win money based on the color the spinner lands on (the spinner can land on any color, not just green).Payouts are as follows:Find the expected value of the following game to the player.Express your answer in dollarsrounded to the nearest cent (e.g.$3.50) The value of China's exports of automobiles and parts (in billions of dollars) is approximatelyf(x) = 1.8208e0.33872, where x = 0 corresponds to 1998. In what year did/will the exports reach$11.2 billion?Give your answer as the year with at least one decimal place .The three major ways to modify a product includea) aesthetic, quality, and functional changes.b) extensions, generations, and upgrades.c) color, size, and quantity modifications.d) styling, product features, and product design.e) quality, quantity, and design. 5.Consider the poems "the leavers," "as a child, i smelled the air," and "halfway home #1."What do they suggest about what the family may gain and lose in a move to New York? Inyour response, use evidence from these three poems and any others you choose. 100 points!!! Please help1. Which style of poetry created in the victorian age was closest to natrual speech?A. Sprung rhythm used by Gerard manly Hopkins B. Sonnets by William Shakespeare C. Lyric poetry by Robert and Elizabeth browning D. Elegiac poetry by tennyson2. Which stanza best expresses the societal changes that occurred during the Victorian age as they relate to the tone of "Dover Beach"?A. ". On the French coast of the light/Gleams and is gone;"B. "But now I only hear/Its melancholy, long, withdrawing roar,"C. "The Sea of Faith/Was once, too, at the full, and rounds earths shore"D. ". For the world, which seems/To lie before us like a land of dreams,/. Hath neither joy, nor love, nor light. " Assume the magnitude of the magnetic field inside a sphere of radius R = 0.38 m, at a distance r from the center, is B(r) = B0(r/R), where B0 = 0.46 T.Calculate the value of U, in joules.