Ms Priya and her friends got a raise of 10% in their salaries. Find the total amount if their present salary is Rs. 15000. Calculate the salary by using the formula
Answers
Answered by
0
import java.util.Scanner;
class salary
{
public static void main(String arg[])
{
Scanner sc=new Scanner(System.in);
int s=15000;
int ns; // variable for storing new salary
ns=s+(15000*10/100);
System.out.println("New salary amount="+ns);
}
}
Similar questions