{"functions":[],"name":"Es2 - Evento sportivo","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_41962e80_bda0_42dc_a22d_f878e62d1031"},{"@type":"Comment","id":"id_9b5e9fd7_7253_4c38_9bb8_6544d3283440","text":"Autore: Gianoli Matilde"},{"@type":"Comment","id":"id_e3f8765e_f922_4046_813f_a5e451c43a53","text":"Dato il prezzo e il numero di biglietti acquistati per un evento sportivo calcolare la spesa totale."},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"numeroBiglietti","lengthValue2":"5","id":"id_987b8a7f_0d8d_4cc1_96c3_cc5e49464207","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"prezzoBiglietto","lengthValue2":"5","id":"id_df596a87_c45d_448f_8d2b_52054fed14d3","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"spesaTotale","lengthValue2":"5","id":"id_7d312ff1_14e7_4f8d_a507_5762c9328bef","initValue":null},{"newline":true,"@type":"Output","id":"id_8e35b52b_e2b8_4130_9ab9_e804fb06021c","value":"\"Inserisci il prezzo del biglietto\""},{"@type":"Input","name":"prezzoBiglietto","id":"id_23255566_814a_49d1_a19c_91f18af87df2","prompt":null},{"newline":true,"@type":"Output","id":"id_c28768ea_44c8_420b_aafa_7b15e40167f5","value":"\"Inserisci il numero dei biglietti\""},{"@type":"Input","name":"numeroBiglietti","id":"id_33464920_732c_41ba_9232_c55516374c89","prompt":null},{"@type":"Assign","name":"spesaTotale","id":"id_b4e2156d_a49d_4412_bcc1_09410cc35dd3","value":"prezzoBiglietto * numeroBiglietti"},{"newline":true,"@type":"Output","id":"id_85c7dc58_4429_475c_881f_52c5ff33182d","value":"\"Il costo totale è \"+ spesaTotale +\"€\""},{"@type":"Return","id":"id_920ee985_ff58_449c_b245_7579ec90c857","maybeValue":null}],"parameters":[]},"id":"id_5fc592c0_dd3f_4ea0_860a_aad904e95625","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":532}