Answer:
import java.util.Scanner;
public class salary{
public static void main(String []args){
System.out.println("Enter the monthly pay: ");
Scanner scn = new Scanner(System.in);
double salary = scn.nextDouble();
double result = salary-(salary*0.15*0.035*0.0575*0.0275*0.05)-75;
System.out.println("The net salary is: "+result);
}
}
Explanation:
first import the Scanner class for taking the input from user.
then, create the main function and print the message for enter the salary from user. scn.nextDouble() store the value enter by user into the result.
after that, calculate the net salary by calculating the deduction amount and then subtract with salary.
finally, print the result on the screen.
Answer:
Option: Making a choice
Explanation:
In a problem solving process, it starts with defining a problem which is the first step that we need to identify the issue.
After that, we should gather the information on the issue that we identify. For example, we are root cause of the problem, what are the possible solutions etc.
Next, we evaluate the information that we collect (e.g. pro and cons of a particular solution).
Next, we make a choice on the solution that we are going to take after further evaluation on all the options we have.
Only after we make a choice, then we can take action based on our chosen solution to solve the problem.
That IP address is either Internal, private or reserved