Write a java program that: • Declares two corresponding arrays with size 5, one for employee's name and the other for total salary. • Read employee information: name and working hours. Store the name in name array and calculate the salary as below and store it in salary array. Salary= working hours* 5. • Print on screen the name of employee with minimum salary.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 11PE
icon
Related questions
Question

java program

Write a java program that:
• Declares two corresponding arrays with size 5, one for
employee's name and the other for total salary.
• Read employee information: name and working hours. Store
the name in name array and calculate the salary as below and
store it in salary array.
Salary= working hours* 5.
• Print on screen the name of employee with minimum salary.
Transcribed Image Text:Write a java program that: • Declares two corresponding arrays with size 5, one for employee's name and the other for total salary. • Read employee information: name and working hours. Store the name in name array and calculate the salary as below and store it in salary array. Salary= working hours* 5. • Print on screen the name of employee with minimum salary.
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Arrays
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage