You are on page 1of 1

#include<iostream.

h>
#include<conio.h>
void main()
{
int AFP,SOL,EMP,SN,SB;
SB=1000;
cout<<"ingresar AFP:";
cin>>AFP;
cout<<"ingresar SOL:";
cin>>SOL;
cout<<"ingresar EMP:";
cin>>EMP;
SN=SB-(AFP+SOL+EMP);
cout<<"el salario neto es: "<<SN<<endl;
getch () ;
}

You might also like