Computer Science, asked by ShivangKatyayan2296, 1 year ago

Ms priya and her friends got a raise of 10% i n their salaries. Find the amount if the present salary is 15,000. Calculate the salary by using the formula

Answers

Answered by shardul1925
2
Answer:

public class Salary {
public static void main(String args[]){
int rate= 10 ;
int present_salary= 15000 ;
int raise= ((rate*present_salary)/100);
int final_salary=raise+ present_salary ;
System.out.println("The raise in salary is : ₹"+ final_salary);
}
}

Hope it helps:)
Attachments:
Similar questions