Está en la página 1de 34

c c

p  p
Ê Ê
¬  
    

 
 
   
   

        
 

   
 
  
  
 





   






 

 




  






Y Ê
‘ 


 
      
  



 






 
  


   

 




 

   
 
 
 
 

 
   

  

 

  

 




     


 


   

   
Ê
 
p
 


   
 






 
 


  

 
 




p   Datos de salida(se muestran


Juan, Perez 160 en el monitor)
Pedro, Rodriguez 155 Juan, Perez $320
Luis, Pozo 120 Pedro, Rodriguez $310
Luis, Pozo $240
Valor por hora = $2

Datos de entrada(ingresados x
teclado) Procesamiento:
Calcular salarios
] 
    



 



  
 
  

p  
  

 


 


 
  

 


   
  
 

 


 

p 

   


 

p  




 ÊYY Ê





 ‘
 


 




p  
p   
 

   


    
     





 
 

    
„   valores operaciones

       
Ê Y



   
 

   
    



!  
     

!  
     
   


   

  




 
 
  
 
  

 


 




 

 
  

  

"
  

 



  


 ÊYY Ê Ê

 


   


    


p    

  !    " 
  






  

!  


    




¬#p $pp p‘p


p


 
 

 

  

 
  

 
 

 
 

 
   

 
  
 
% #
" 

 



 

  
 

  
$



    
  

Õ Ê
 YÊ 
  
 
 





 

 
p   

 
  

 
  
     
 



 
  

"
  




 

& 


 
   
'


   (    


   



%


 
    

  

p  
 ‘p¬p   




 YÊY Ê
‘p &




 p ‘

pp  

 
  




%  
 
 
   
 

 
pp  ¬ 



"  

    )   



pp   ‘‘  
'(
Y ÊY ? dec  un v e se
e  e 
e

   mem
 y u À  
 d
e 

      
 

 
    
 " 
* yte
©   
p   d 
 
©    
 yte
 *
 
 d  *

&   
     
'
p
   
   
 

 
  

 



  

)*+,) +--*
-./,01)-+23*+2,-/*4-.
-+.-+2
Y ÊY


Ê 

   

 
  

 
     
p  

  5  

U e
p     
© 
    
©  ©U 
 
 

p
          
 
Y ÊY
 Ê
© 



p  

     

     
 

  

  

  

  
 
   


 

*

 ’

  
   
  
  ©  
  t  m e 
   de  de x e d e
   que ’  ’ 
Ê  YÊÊYÊ
  
  
      

 *
  

      

    
p   
 
 
 

     




  

© 
 RR © ©
    
  RR  © ©
  

     


    
  

 
  
  
 p equ ete 
tf(Ơ%  
 
© 
  p equ ete 
p  = ƝNƞ
  
© 
 Imme ƝNƞ ue y
m

 Ê 
© 

©  
 
 

 o
 
    * 

  
  
*
 
 
      
* 
   !"
   
p equ ete  e 
x = y
   pt
d  que 

 ut  
 #$$ mm  e que 

 #$$ pt
e equ ete  Ơe e e
ute
y de  que 
ut  u
 e
ÊY
 Ê

  

 
 
p
  
 
 



 


    



   


  


   


 
 
Ê Ê  Ê
          
    
        
 
   
*

   *   

    
    "
 ,
 ,  0 1 1   ,
   
© % 

e mme  e 
 de x 

   &   m uque  fu  y


© % 
 tetd
m
df  

'(©& © )


 !
© % 

*
Ê Ê   
 
    

    
  
  

 
     

 

   
  
  



 


   
      
  e mme
 "     
6 e 
 de x 6 
© % 





&      


   
 de
det
 fu 


© % 

p   '(©& ©  )
   !
© % 
 
p 
*
 ÊYY Ê

Ê
p


 

 ‘ #¬ #


p‘






p6 
 p+78  )9)
  
 


 

%   
  
 p 



 )$9
   , )

‘8
%   
 

  
     
+78
:8
p

  
  

‘p
 , 





  


‘8
p
 
  

+78
:8
Ê
 
  


#
  ; *



  


  


  


 
 
© +,,-
p 
 
  

 
   ?
p    

 
"
   * 
    
   
  
p
   
 
   

p   


 
   

-   
  

  


 !!

 
  %

     %



 

cipo de dato:

Ê  Ê Conjunto de valores y ’6 


ÀefiniÀas solo para esos valores



      




   



#

 
  

*


   

RR ( .&/(0/( 0 ©(0/(.0/010 (."0
© 
+-
+"-

¬    



+ - RR/10 (& '/(0 0/0/010 ( 0
(© ,©2,,©!!
? © 
  Ê 
 



   

   '
 t 
p    

p  
  t
© 
© 
.©40(© 
.©40(
 6 t
p   

 

    

 
  

 
   * t
         

t*
p 

  
  

$©.+©-3$©.+,-!©.©40($©.+,-
  Y

Ê  
Y
  
ut 
t
 e tee
mem
 



 e
        
 
   
      

 

       p ‘

 

       
   

  © RR(.00.0' 
66
 
 
   R & (.00.00
.00.0'R
 1//(.©40(© 
p

 RR$'©5/0 (1/10 0
  
 

 © /&02./©563
'(©1//(.©407.©40

  
 
ÊY
Ê
p


 

  

 
<. 

  

 
 

!  

  
  

     <


  .
© 08/(


  
    
 


08/( 1//(.©40(© ,  d  e ue
tm
e uede
1© ) u u
tte
u  e

u que exe
© 08/(
 
© 9 80.00/1:(0/08/(;
 <09 080
08/( 1//(.©40(©  
© (©0 00/010 (. 5=% 

666
*
Õ  
      

  
 
p
  
   
ud
e
e 
u
t *  e
 = m


fee(
p 

 Y  Ê

 
$ =
 
  


 
       
 
  %


  



    um d  que  e mue 
Ơete
 m de te
©  d ete
equ e  * yte
 + ** =  
© 
 
  
     

  
, ,> ,
!    '

 Ê 
1© )
(&5/0$©.+ -  
(&5/0
 
  t 

© ?  
$©.+,-  
 t
$©.+- 6
$©.+- 6  6
 $©. t


  !
© 
  
 e muee 
    defe
© 
 
 $©.!  et
ede u
 $©.+,- defe
?   
© 
? D e t
t de defe
* ete  y 
p 
ÊY Ê 
 Ê
 
        
 



& 


* 
   '



* 
    

p


   
/( /@(10©(/(+-
© .©40
/(& /(A+-

p     


/( /@(10©(/(+-
© .©40)
B66
+©-  
*

    p 

p 
  

 
 
Ê
Y
Ê 
      
 

  
    

  

+ 7+ 78
+ 7
   

  


    


     




©  
(0 0 (0  (0  ?  ?00 ?0 ?0

( 0 (  (  ?  ?0 ? ?


p 
( 0 (  (  ?  ?0 ? ?
    Ê
p
  <  

.    



  
    <  
.< . 



p    00.&c   )
@©10(+,-
9 ©©/
#/©1(+,-
*   

p
      <

.   





 
  <   
.
(150 (1 /0(. (150
0 (150
 YÊ  
. (150 
     
(150 (1 /0(
  
      


    /     
      
 
>    
    
       
. (15069 ©©/ $

 et
 de t

N
me
m et
ted  
me
mm Ơetu tu me
 
d dt
tee dfeete
tm
y e 
e
p 
mem

u tm

d dt
eeet u
f
m  dfeete
Ê
 
      


 






  
 
p  



 
 
       

   
  
  
p   
 
    
       
;  
          
  

 

   



 
  
 
Ê
 000 &1)F 0(
G0/*E(

 00& ©( C/(@(/©1(©()
© '/(70 0(
 00& ©( C/(@(/©1(©() /('/(70/
© '/(70 0( E(© (
/('/(70/ *
*
C/(@(/©1(©(
C/(@(/©1(©( © E© (0(;
6'/(70 0( D 6© ( <09 080
6'/(70/ >6D ©6© ( F 0(0
6'/(70 0( D
0/.0©6© ( G0/0
6'/(70/ >6D

ÊY  

  

    

    
   
  
 
 
 

 


   

* 
  
<  .
p