fix
This commit is contained in:
parent
b243b0fa31
commit
f5d4e736c1
@ -24,7 +24,7 @@ public class Operaio extends Dipendente{
|
|||||||
if(oreLavoro>165)
|
if(oreLavoro>165)
|
||||||
return ((oreLavoro-165)*0.3+165)*super.getPaga();
|
return ((oreLavoro-165)*0.3+165)*super.getPaga();
|
||||||
else
|
else
|
||||||
return oreLavoro*super.getPaga();
|
return super.calcoloPaga();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Operaio read(Scanner sc) throws Exception{
|
public static Operaio read(Scanner sc) throws Exception{
|
||||||
|
Loading…
Reference in New Issue
Block a user