{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2f6ea113_1236_4eba_b3d5_33a355365a5c"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"numeropartecipanti","lengthValue2":"5","id":"id_3f4525e4_9f17_443c_bade_af0d6c35b8f1","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"mese","lengthValue2":"5","id":"id_4bc24e61_f294_45cb_90aa_3893e33de38b","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"sceltaescursione","lengthValue2":"5","id":"id_ae51f2f2_c82b_493d_b66d_d9a8ce335a21","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"costopersona","lengthValue2":"5","id":"id_0632199d_c563_4d93_b36e_8a51e871ef5c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"supplementopersona","lengthValue2":"5","id":"id_46959442_0ed4_4d74_a423_4c359fb2b6db","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"costobase","lengthValue2":"5","id":"id_b6f9c5b2_f1e3_4bbd_857b_58aab28c35ab","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"supplementototale","lengthValue2":"5","id":"id_42d759e8_ba41_4362_8f9f_3846d75eff8e","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"prezzofinale","lengthValue2":"5","id":"id_7342a842_e8ba_49f8_b6e2_d847c71b15f4","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"tipostagione","lengthValue2":"5","id":"id_b7753167_5478_4e22_bb26_15087210a887","initValue":null},{"newline":true,"@type":"Output","id":"id_39c12eda_f26d_4ac9_a96f_18ed491d631f","value":"\"inserisci il numero di partecipanti al tour:\""},{"@type":"Input","name":"numeropartecipanti","id":"id_d4f492bd_0a7b_458d_8deb_a7571d01d300","prompt":null},{"newline":true,"@type":"Output","id":"id_a52a4963_071c_41a8_ad50_b463a23c3ec6","value":"\"inserisci il mese della prenotazione:\""},{"@type":"Input","name":"mese","id":"id_5785d505_8380_4d12_9257_f3f9958d4214","prompt":null},{"newline":true,"@type":"Output","id":"id_7308d8ed_c7ec_4946_b939_c2d03d1d8f24","value":"\"inserisci l'escursione (1 per tour standard, 2 per tour VIP con navetta):\""},{"@type":"Input","name":"sceltaescursione","id":"id_ba6456d8_22a8_4299_a654_3c8e90e009a1","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"costopersona","id":"id_7101a065_d6cc_443a_b4bf_cf74dd57c4c8","value":"35"},{"@type":"Assign","name":"tipostagione","id":"id_0c43fcaf_4ff5_4a10_b7e8_a4a7eb768aa5","value":"\"bassa stagione\""}],"id":"id_70e8b06c_6317_4c6e_8bcf_663b74249537"},"trueBlock":{"statements":[{"@type":"Assign","name":"costopersona","id":"id_f1de98d8_454b_4e45_adcc_193d2057025c","value":"50"},{"@type":"Assign","name":"tipostagione","id":"id_3194546b_bd37_4589_b332_882f10b70e65","value":"\"alta stagione (giugno-agosto)"}],"id":"id_afb0e6ab_eee7_4bc7_aed5_5bd7884a896d"},"condition":"mese >= 6 && mese <= 8","@type":"If","id":"id_475aeec5_dff5_4565_9ce0_9b9b8ed78eb2"},{"@type":"Assign","name":"costobase","id":"id_875ef92d_cdb2_46aa_ba9f_4d9ce19cd045","value":"numeropartecipanti*costopersona"},{"falseBlock":{"statements":[{"@type":"Assign","name":"supplementopersona","id":"id_80749de6_77a4_4b11_98b3_2751e1f55115","value":"0"}],"id":"id_66afe038_da18_4935_8805_403179c034c4"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Assign","name":"supplementopersona","id":"id_eec0eb89_027f_40fb_9bed_b64e3b9259ca","value":"20"}],"id":"id_fcbd9e0d_c5a7_4d5c_9d6d_ecedec55e666"},"trueBlock":{"statements":[{"@type":"Assign","name":"supplementopersona","id":"id_3768c96f_0694_42e7_95b8_c34d02cec1eb","value":"15"}],"id":"id_56a6f33f_d9e4_43c3_9c9c_7da25ac27cf9"},"condition":"numeropartecipanti>10","@type":"If","id":"id_f2f22ed4_7ada_4e43_a1bb_2848e06647c8"}],"id":"id_5d551b77_5946_4a58_a4be_ef4116388d96"},"condition":"sceltaescursione==2","@type":"If","id":"id_f6319753_8d62_4f13_aebf_b6c29a03d6fc"},{"@type":"Assign","name":"supplementototale","id":"id_bba5636a_ab80_4a13_ba53_6c00c6dffb74","value":"numeropartecipanti*supplementopersona"},{"@type":"Assign","name":"prezzofinale","id":"id_fc52b034_f930_48a9_b7b4_dbce66ad838d","value":"costobase+supplementototale"},{"newline":true,"@type":"Output","id":"id_0ebcf742_ed9c_41a0_87c4_ca5f5a9bd945","value":"\"stagioneapplicata: + tipostagione\""},{"newline":true,"@type":"Output","id":"id_79b06bfc_6dac_4d6e_ac43_a9a0558519a8","value":"\"costo base del soggiorno: + supplementototale\""},{"newline":true,"@type":"Output","id":"id_692fcfc3_2d45_4b11_8a57_ccd8653ca3d6","value":"\"prezzo totale da pagare:"},{"@type":"Return","id":"id_4359a9a7_3ff1_493d_ba7e_72893763ce75","maybeValue":null}],"parameters":[]},"id":"id_7c49f4d6_0dee_44ce_91bf_f9d81f27d522","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1094}