Write a program in java to accept basicpay,hra, from the employee. Calculate grosspay which is basicpay+hra Get the input from the user using dialog box and display the gross salary also using dialog box. Based on the salary grosspay>-4000 then display "high income group" grosspay from 2000 to 3999 display "medium income group" grosspay <2000 display "low income group"

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 15PE
icon
Related questions
Question
Write a program in java to accept basicpay,hra, from the employee. Calculate
grosspay which is basicpay+hra Get the input from the user using dialog box and
display the gross salary also using dialog box. Based on the salary
grosspay>-4000 then display "high income group"
grosspay from 2000 to 3999 display "medium income group"
grosspay <2000 display "low income group"
Transcribed Image Text:Write a program in java to accept basicpay,hra, from the employee. Calculate grosspay which is basicpay+hra Get the input from the user using dialog box and display the gross salary also using dialog box. Based on the salary grosspay>-4000 then display "high income group" grosspay from 2000 to 3999 display "medium income group" grosspay <2000 display "low income group"
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Hiring Problem
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