Write a program in java to enter basic salary and calculate
gross salary. please ans fast
Answers
Answered by
0
answer
Explanation:
Import the Scanner.
Declare the class as public.
Add the void main function.
Add system. out. println() function with the message to enter basic salary.
Declare input as Scanner.
Take the basic salary and save it in variable.
Calculate Gross salary and save it in other variable.
Add system. out.
Answered by
4
ʀᴇғᴇʀ ᴛᴏ ᴛʜᴇ ᴀᴛᴛᴀᴄʜᴍᴇɴᴛ ᴘʟᴇᴀsᴇ
Attachments:
Similar questions