Proceso IMPUESTOCARRO
Escribir "INGRESE VALOR DEL CARRO"
Leer VC
Si (VC > 25000000) Entonces
Escribir "EL CARRO TIENE IMPUESTO"
Sino
"EL CARRO NO TIENE IMPUESTO
Fin Si
Proceso herencia
Escribir "ingrese edad hijo 1"
Leer eh1 Escribir "ingrese edad hijo 2"
Leer eh2 Escribir "ingrese valor propiedad "
Leer vp
Si (eh1>eh2) Entonces
hmay<-2/3*vp
hmen<-1/3*vp
Sino hmay<-2/3*vp hmen<-1/3*vp Fin Si Escribir "el hijo mayor recibe "
Escribir hmay Escribir "el hijo menor recibe "
Escribir hmen
Fin proceso
Proceso preciodelcomputador
Escribir "computador portátil
" Leer cpp Escribir "computador de mesa"
Leer cpm Si (cpp>cpm) Entonces
pc<-cpp
sino pc<-cpm
Fin Si
Escribir "el computador con mayor precio cuesta"
Escribir pc
FinProceso