class Employee{
public static void main(String[] args){
double payment[]={0.00,0.00,0.00,0.00};
int hrs[]={35,47,73,65};
double bp[]={7.50,8.20,10.00,7.00};
for(int i =0;i<4;i )
{
if(bp[i]<8.00)
{
System.out.println('' ERROR '');
}
else if(hrs[i]>40 && hrs[i]<=60)
{
int ot=hrs[i]-40;
payment[i]=(bp[i]*40) (ot*bp[i]*1.5);
System.out.println('' payment is'' (i 1) "$" payment[i]);
}
}
}
}
Subscribe to:
Post Comments (Atom)
Mentor List
,Year,Roll No,Regn No,Student Name,Mentor/faculty,Mentor Ph No,Mentor e Mail 1,4th yr BTech,417001,2201105001,ABHILASH DEHURY,Prof S.N.Mishr...
-
Cloud Computing Note https://drive.google.com/file/d/1LasotF7wO8zu5Cocr-czxJ_zo5GV_VaL/view?usp=drive_link Cloud Computing...
-
Cloud Computing Note https://drive.google.com/file/d/1LasotF7wO8zu5Cocr-czxJ_zo5GV_VaL/view?usp=drive_link Cloud Computing...
-
,Year,Roll No,Regn No,Student Name,Mentor/faculty,Mentor Ph No,Mentor e Mail 1,4th yr BTech,417001,2201105001,ABHILASH DEHURY,Prof S.N.Mishr...
No comments:
Post a Comment