Advertisement
GastonPalazzo

Condicionales - Ej-10

Aug 19th, 2020
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. print('|Ej 2|')
  2.  
  3. print('\nIngrese 3 numeros:')
  4. a=int((input('\n<num a>: ')))
  5. b=int((input('\n<num b>: ')))
  6. c=int((input('\n<num c>: ')))
  7.  
  8. mayor=a
  9. if b>mayor: mayor=b
  10. if c>mayor: mayor=c
  11.  
  12. print('\nCS:\n\tEl mayor es ', mayor)
  13.  
  14. print('\nFin de la ejecucion!\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement