ESTRUCTURAS GUIA 3

Description

ESTRUCTURA SIMPLES, DOBLES Y COMPUESTAS
Yesica  Peña
Mind Map by Yesica Peña, updated more than 1 year ago
Yesica  Peña
Created by Yesica Peña over 6 years ago
7
0

Resource summary

ESTRUCTURAS GUIA 3
  1. SIMPLES
    1. COMPUESTAS ÚNICAMENTE POR UNA CONDICIÓN
      1. SI-ENTONCES
        1. COMANDOS
          1. # COMENTARIO
            1. PUTS = IMPRIMIR TEXTO EN PANTALLA
              1. edad = 19 # asignamos un valor a la variable edad if (edad > 17) puts “Es mayor de edad” end
      2. DOBLES
        1. Compuesta únicamente de una sola condición, si es verdadera ejecutara la acción o acciones y si la condición es falsa ejecutara las acciones para la condición falsa
          1. Edad = 19 # asignamos un valor a la variable edad if (edad > 17) puts “Es mayor de edad” else puts “Es menor de edad” end
        2. COMPUESTAS
          1. Están compuesta múltiples selectivas simples que están unidas por el comando elsif el resultado que se obtiene con una selectiva multiple se puede obtener con varias selectivas simples
            1. Edad = 19 # asignamos un valor a la variable edad if (edad > 17) puts “Es mayor de edad” elsif (edad < 18) puts “Es menor de edad” end
          Show full summary Hide full summary

          Similar

          Crime and Deviance with sociological methods key terms
          emzelise1996
          AQA GCSE Biology genetic variation
          Olivia Phillips
          Biology: Lung Disease
          Sarah H-V
          Magnetism
          joan.march
          French Module 1 'Moi'
          Maya Khangura
          Ebola Virus Disease
          rubyduggan
          Genetics Vocabulary
          aborsari
          Geography AQA Revison topics Migration, Population Change, Youthful Populations and more
          dburns8731
          ICT GCSE flashcards
          Catherine Archer
          L'environnement
          Bryony Whitehead
          Two years and no baby
          Zahra Habeeb