{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_04c013ea_d85e_4078_8707_fc2150fd73d5"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Edad","lengthValue2":"5","id":"id_b024866d_d9b0_4ebe_a984_8122345cde18","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"Alcohol","lengthValue2":"5","id":"id_5f1c3a21_cec0_4394_8e8b_7806bc797d4b","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Dinero","lengthValue2":"5","id":"id_2a779f87_cfc4_47f9_8745_9d0d056b4318","initValue":null},{"@type":"Input","name":"Edad","id":"id_c19a1378_6b43_4470_95f2_1db4362f8478","prompt":"¿Qué edad tienes?"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3656d191_46a8_41ab_8d65_0ad7105f832f","value":"\"Tienes que ser mayor de 18 años para poder comprar alcohol, lo siento\""}],"id":"id_0a6f5f45_d5f8_41ac_97b8_4bb1195bad26"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_dd81d1e1_1ebf_48c8_b41f_9398b1a77441","value":"\"Genial eres mayor de edad\""},{"newline":true,"@type":"Output","id":"id_e4ac8f83_c91d_441b_811c_4a0e801464a1","value":"\"Estas son las bebidas con alcohol que tenemos: cerveza, ron, vodka y vino\""},{"@type":"Input","name":"Alcohol","id":"id_20ba03f9_ebc9_4d25_89d4_5340f1738666","prompt":"¿Qué tipo de alcohol quieres?"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3be2c985_99f7_48d0_b02a_4955b0fc237a","value":"\"Lo siento, ese tipo de alcohol no tenemos\""}],"id":"id_31c05f3f_bc8d_40d9_9c34_4eed1f4c248f"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b78cb7da_b4ea_434c_91ec_19a6564f9616","value":"\"Perfecto\""},{"@type":"Input","name":"Dinero","id":"id_6f0996fe_55cb_45dc_b2a8_b14059bb28cb","prompt":"En total cuesta 25€ pon el dinero exacto aquí para pagar"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_0b1aed58_ac98_4867_970b_fdebf8445f61","value":"\"No puedes comprar alcohol con ese dinero necesitas 25€\""}],"id":"id_2e6255af_eddd_461a_b4ba_9e21663a4fdd"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b3da1226_92ac_4e13_9a15_0e784da652b0","value":"\"Perfecto, ya está\""},{"newline":true,"@type":"Output","id":"id_4957f9b0_975d_4710_9151_16dd78448e01","value":"\"Gracias, adiós\""}],"id":"id_180cc944_7241_4a68_81e1_b1330c640933"},"condition":"Dinero>25","@type":"If","id":"id_c461933b_011a_4def_83a9_ad4ca7a992f8"}],"id":"id_0260ffb4_b608_4298_9981_d2a18e740f5f"},"condition":"Alcohol==\"cerveza\" || Alcohol==\"ron\"||Alcohol==\"vodka\"||Alcohol==\"vino\"","@type":"If","id":"id_144eb924_ae74_4f68_a06f_58f8e27215e9"}],"id":"id_356890dc_56b7_4dc7_939c_e2ec51171cf2"},"condition":"Edad>18","@type":"If","id":"id_0c25bd17_d0eb_4681_a495_1fffca315708"},{"@type":"Return","id":"id_920c5171_1036_492b_978a_6e2f52f7cd71","maybeValue":null}],"parameters":[]},"id":"id_e494a794_1ecf_4026_9dc4_a30040576182","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":false,"lang":"c++","showGenCode":true},"version":"0.3","revision":1434}