Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Escribir una expresion que determine si un numero esta entre
- y 100.
- Para ello, combinar dos expresiones relacionales mediante una conjuncion booleana.*/
- procedure PrepararTablero()
- {
- VaciarTablero()
- IrAlOrigen()
- }
- function verificaNumeroEntre0y100(num)
- {
- return (0<=num && num<=100)
- }
- procedure Main(){
- PrepararTablero()
- valor:= verificaNumeroEntre0y100(75)
- return(valor)
- }
Advertisement
Add Comment
Please, Sign In to add comment