Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

calcule el salaro semanal de pendiendo al turno

calcule el salaro Semanal de pendiendo al turno import java.io.*; class prop16 { public static void main(String[]args)throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); System.out.print("ingrese el numero de horas laboradas: "); double h=Double.valueOf(in.readLine().trim()).doubleValue(); System.out.print("ingrese el pago por hora laborada: "); double p=Double.valueOf(in.readLine().trim()).doubleValue(); System.out.println("ingrese el turno de labor: "); int t=Integer.parseInt(in.readLine()); int tm=1; int tt=2; int tn=3; double pago; if(t==1 t==2) { pago=h*p; System.out.println("el salario semanal es: "+pago+" soles");} else { if(t==3) {pago=1.3*(h*p); System.out.println("el salario semanal es: "+pago+" soles");} else System.out.println("turno no existente");} } }



This post first appeared on TotalPing.com, please read the originial post: here

Share the post

calcule el salaro semanal de pendiendo al turno

×

Subscribe to Totalping.com

Get updates delivered right to your inbox!

Thank you for your subscription

×