{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2d77c6b1_f603_453f_8309_efdab4f56685"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"numero_partecipanti","lengthValue2":"5","id":"id_f61910ae_afc9_4b7a_996d_d9d08ffaaaaa","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"mese","lengthValue2":"5","id":"id_53da9c56_4fab_47db_81a9_f12af3bf0219","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"sceltaescursioni","lengthValue2":"5","id":"id_53e6cf23_3bd8_4cd9_9ce4_14625cf08bee","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"costo_persona","lengthValue2":"5","id":"id_78984c28_a3c6_4873_a162_464fde3dfc17","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"costo_base","lengthValue2":"5","id":"id_6a411977_646e_4211_bcb4_f303f3a506cb","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"supplemento_persona","lengthValue2":"5","id":"id_600da5d6_638f_4a26_bb7c_66dff8eb501c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"supplementototale","lengthValue2":"5","id":"id_832d2028_f0b2_4380_b85c_68cf48de173c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"prezzofinale","lengthValue2":"5","id":"id_04ac07e7_5685_4368_9fae_2fc97a8e1dc0","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"tipo_stagione","lengthValue2":"5","id":"id_fc3845a8_3e91_49d8_b965_237f3f2b976c","initValue":null},{"newline":true,"@type":"Output","id":"id_bbbe9fb9_e17a_4a1b_a3e4_0e6e8aebdf70","value":"“buongiorno! benvenuto alla nostra agenzia,inserisca il numero di partecipanti"},{"@type":"Input","name":"numero_partecipanti","id":"id_30ef0079_aef1_4ff8_be8e_4ad6fa0c7031","prompt":null},{"newline":true,"@type":"Output","id":"id_eb9c1b40_0f5c_4291_ac48_8586c48b9a16","value":"\"perfetto! ora inserisca il mese (da 1 a 12)”"},{"@type":"Input","name":"mese","id":"id_6b6b7a5e_d4eb_4667_9b1d_fc0fb6f717b2","prompt":null},{"newline":true,"@type":"Output","id":"id_9b1ff13f_8878_4ec7_a274_1a20fabd0d6c","value":"\"infine inserisca il codice escursione(1 per standard,2 per vip con navetta”"},{"@type":"Input","name":"sceltaescursioni","id":"id_d568b940_306e_4844_830a_36f5d62e6dab","prompt":null},{"@type":"Assign","name":"costo_base","id":"id_d2134268_9922_4d07_9c6f_8f291f6ccce8","value":"numero_partecipanti*costo_persona"},{"falseBlock":{"statements":[{"@type":"Assign","name":"costo_persona","id":"id_be1eb34e_40f3_4849_9e88_92b29a4770ec","value":"35"},{"@type":"Assign","name":"tipo_stagione","id":"id_26247ceb_f072_4b62_9be9_a5a9c0ee72e0","value":"“Bassa Stagione”"}],"id":"id_9708b588_8dc1_4e9d_9ab7_f77e5b889d78"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"costo_persona","id":"id_0dc09840_136b_41ba_9710_a9e3672216c2","value":"35"},{"@type":"Assign","name":"tipo_stagione","id":"id_38eb5a34_ac74_4f22_a407_d09a7e61a021","value":"“Bassa Stagione”"}],"id":"id_7d2454dd_d132_480b_81c2_ad4cb86fd154"},"trueBlock":{"statements":[{"@type":"Assign","name":"costo_persona","id":"id_2ab3ea09_3d8f_425e_a294_5aaacf28ddf1","value":"50"},{"@type":"Assign","name":"tipo_stagione","id":"id_187e3810_c9ee_4161_bb87_12f62df372e7","value":"“Alta Stagione”"}],"id":"id_b98cf4a1_1489_486d_b730_dd0da4220264"},"condition":"<=8","@type":"If","id":"id_387acaa2_4123_4f91_aa5b_007aad228792"}],"id":"id_1af87099_afed_4c09_a790_4d410bc5cf61"},"condition":"mese>=6","@type":"If","id":"id_8db3cb4f_cb7e_4131_840c_61197d978a47"},{"@type":"Assign","name":"costo_base","id":"id_f1506639_c0b1_43bd_963e_b642ed699229","value":"numero_partecipanti*costo_persona"},{"falseBlock":{"statements":[{"@type":"Assign","name":"supplemento_persona","id":"id_0e79d44a_af29_46b1_b169_51221c9929d4","value":"0"}],"id":"id_ce6331b5_a9bf_4d1e_84e0_e0163167f52f"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"supplemento_persona","id":"id_d0eb7477_d582_4ced_b8cf_bcda1039b928","value":"20"}],"id":"id_3dc0ded5_ffef_4d33_8cc0_a7650440a1d2"},"trueBlock":{"statements":[{"@type":"Assign","name":"supplemento_persona","id":"id_d8190320_9065_43db_9a5b_09ec01974f02","value":"15"}],"id":"id_b0923665_467a_4deb_90d8_463768e07289"},"condition":"numero_partecipanti>10","@type":"If","id":"id_1e2a7a0e_c775_4b1f_9f7f_17cf153142d7"}],"id":"id_54ca1d03_4b96_4f64_8709_95bf0d4daaba"},"condition":"sceltaescursione==2","@type":"If","id":"id_41093357_71a6_4aa5_967a_1704d49a4f73"},{"@type":"Assign","name":"supplementototale","id":"id_8aa73a29_7c28_4274_a0f0_53da63a63fda","value":"numero_partecipanti*supplemento_persona"},{"@type":"Assign","name":"prezzofinale","id":"id_8e6833ca_b8a5_42d5_8387_1a6aa37e729a","value":"costo_base+supplementototale"},{"newline":true,"@type":"Output","id":"id_98ba1c2b_4802_4c58_9a7d_ecf7ac74cf66","value":"\"stagione applicata:”&”tipo_stagione”"},{"newline":true,"@type":"Output","id":"id_ffedbfe5_83cc_46ac_9d9d_84a7631ad541","value":"\"costo base:”&”tipo_stagione”"},{"newline":true,"@type":"Output","id":"id_f3bbf5d4_3cf6_4952_9010_11e0cff2f9b4","value":"\"supplemento totale:”&”supplementototale”&”€”"},{"newline":true,"@type":"Output","id":"id_34c0dd14_e664_45f6_bd8e_c746155113e8","value":"\"prezzo totale da pagare:”&”prezzofinale”&”€”"},{"@type":"Return","id":"id_866586b8_b6b6_447c_97a7_4726ea97b709","maybeValue":null}],"parameters":[]},"id":"id_638efe66_0b19_4482_beb1_fc45f6365676","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1384}