import java.util.*;
class t{
public static void main(String arg[]){
Scaneer in=new Scaneer(String.in);
int age;
double salary;
System.out.print("Enter age");
age=in.nextInt();
System.out.print("enter Salary");
salary=in.nextDouble();
if(age>=50)
System.out.printf("salary is %f",salary+(15/100*salary));
if(salary<=50)
System.out.printf("salary is %f",salary+(20/100*salary));
}
}هادا برنامج لادخال الراتب والعمر واذا كان فوق 50 يزيد بنسبة 15%
اقل من 50يزيد بنسبة 20%
ما اشتغل ياريت تفيدوني