Papa

Páginas: 3 (512 palabras) Publicado: 7 de marzo de 2013
// DE PROGRAMACION//
//MAESTRO LIC.JORGE ARTURO GOMEZ DE DIOS//
//ALUMNO: IRVING NEIL SANCHEZ SOLIS//
#include <stdio.h>
#include <conio.h>

int main()
{
int precio1=0;int precio2=0;
int precio3=0;
float cuenta=0,impuesto=0;
printf("Inserte el precio del Producto 1\n");
scanf("%i",&precio1);
printf("Inserte elprecio del Producto 2\n");
scanf("%i",&precio2);
printf("Inserte el precio del Producto 3\n");
scanf("%i",&precio3);
cuenta=precio1+precio2+precio3;
impuesto=cuenta*0.10;cuenta=cuenta+impuesto;
printf("La Cuenta = a %f y el Impuesto es de %f",cuenta,impuesto);
getch();
return 0;
}

// DE PROGRAMACION//
//MAESTRO LIC.JORGE ARTURO GOMEZDE DIOS//
//ALUMNO: IRVING NEIL SANCHEZ SOLIS//

#include <iostream.h>
#include <stdio.h>
#include <conio.h>

int main()
{
int hrs=0;
floatsalario=0,impuesto=0;
cout<<" Empleado\n\n";
getch();
cout<<"Irving Neil Sanchez Solis\n\n";
getch();
printf("inserte el numero de horas trabajadas\n");scanf("%i",&hrs);
salario=hrs*50;
impuesto=salario*0.15;
salario=salario-impuesto;
printf("el salario es =a %f y el impuesto es de %f",salario,impuesto);
getch();return 0;
}

// DE PROGRAMACION//
//MAESTRO LIC.JORGE ARTURO GOMEZ DE DIOS//
//ALUMNO: IRVING NEIL SANCHEZ SOLIS//
#include <iostream.h>
#include <stdio.h>
#include<conio.h>

int main()
{
int hrs=0;
float salario=0,impuesto=0;
printf("inserte el numero de horas trabajadas\n");
scanf("%i",&hrs);
salario=hrs*50;impuesto=salario*0.15;
salario=salario-impuesto;
printf("el salario es =a %f y el impuesto es de %f",salario,impuesto);
getch();
return 0;
}

// DE PROGRAMACION//...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Papa
  • Paper
  • Paper
  • Yo Papa
  • La Papa
  • Papa
  • papa
  • Papas

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS