Given the following table containing information about employees of an organization, develop a small java application, which accepts employee id from the command prompt and displays the following details as output: EmpNo EmpName Department Designation Salary In your program, you must initialize an array with the following details. Designation Department Code Emp Emp Join Date Basic HRA IT No Name 1001 Ashish 01/04/2009 e R&D 20000 8000 3000 Sushma 23/08/2012 c 12/11/2008 k 1002 PM 30000 12000 9000 1003 Rahul Acct 10000 8000 1000 1004 Chahat 29/01/2013 Front Desk 12000 6000 2000 1005 Ranjan 16/07/2005 Engg 50000 20000 20000 1006 Suman 1/1/2000 Manufacturing 23000 9000 4400 1007 Tanmay 12/06/2006 c PM 29000 12000 10000 DA (Dearness Allowance) details are given in the below "Designation" table.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Only java code needed no output need
DA (Dearness Allowance) details are given in the below "Designation" table.
Designation Code Designation
DA
Engineer
20000
Consultant
32000
k
Clerk
12000
Receptionist
15000
Manager
40000
Note 1: Salary should be calculated as (Basic + HRA + DA – IT).
Note 2: Use switch-case to print Designation and to find the value of DA for a particular employee.
Expected Output format: (assuming that your class name is Project1)
If you execute the command java Project1 1003, the output should be -
Emp No. Emp Name Department Designation Salary
29000
1003
Rahul
Acct
Clerk
If you execute the command java Project1 123, the output should be -
There is no employee with empid : 123
Transcribed Image Text:DA (Dearness Allowance) details are given in the below "Designation" table. Designation Code Designation DA Engineer 20000 Consultant 32000 k Clerk 12000 Receptionist 15000 Manager 40000 Note 1: Salary should be calculated as (Basic + HRA + DA – IT). Note 2: Use switch-case to print Designation and to find the value of DA for a particular employee. Expected Output format: (assuming that your class name is Project1) If you execute the command java Project1 1003, the output should be - Emp No. Emp Name Department Designation Salary 29000 1003 Rahul Acct Clerk If you execute the command java Project1 123, the output should be - There is no employee with empid : 123
Given the following table containing information about employees of an organization, develop a
small java application, which accepts employee id from the command prompt and displays the
following details as output:
EmpNo EmpName Department Designation Salary
In your program, you must initialize an array with the following details.
Emp
Emp
Join Date
Designation Department
Basic
HRA
IT
No
Name
Code
1001
Ashish
01/04/2009 e
R&D
20000
8000
3000
Sushma 23/08/2012
12/11/2008 k
29/01/2013 r
16/07/2005 m
1002
PM
30000
12000
9000
1003
Rahul
Acct
10000
8000
1000
1004
Chahat
Front Desk
12000
6000
2000
1005
Ranjan
Engg
50000
20000
20000
1006
Suman
1/1/2000
e
Manufacturing
23000
9000
4400
1007
Tanmay 12/06/2006 c
PM
29000
12000
10000
DA (Dearness Allowance) details are given in the below "Designation" table.
Transcribed Image Text:Given the following table containing information about employees of an organization, develop a small java application, which accepts employee id from the command prompt and displays the following details as output: EmpNo EmpName Department Designation Salary In your program, you must initialize an array with the following details. Emp Emp Join Date Designation Department Basic HRA IT No Name Code 1001 Ashish 01/04/2009 e R&D 20000 8000 3000 Sushma 23/08/2012 12/11/2008 k 29/01/2013 r 16/07/2005 m 1002 PM 30000 12000 9000 1003 Rahul Acct 10000 8000 1000 1004 Chahat Front Desk 12000 6000 2000 1005 Ranjan Engg 50000 20000 20000 1006 Suman 1/1/2000 e Manufacturing 23000 9000 4400 1007 Tanmay 12/06/2006 c PM 29000 12000 10000 DA (Dearness Allowance) details are given in the below "Designation" table.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY