{"functions":[],"name":"Cassa automatica","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_a8b98c91_8c4d_45d5_b9df_c71699177efb"},{"@type":"Declare","tpe":"Integer","name":"prodotti","id":"id_57ff3ddc_f2f8_451d_b651_dd7cbae6980e","initValue":"0"},{"@type":"Declare","tpe":"Real","name":"prezzo","id":"id_95e16989_ca9a_4e6c_b8db_a412c28be0b5","initValue":null},{"@type":"Declare","tpe":"Real","name":"somma","id":"id_4631311c_ce00_4a39_9f76_34bdcbf5d5c2","initValue":"0"},{"@type":"Declare","tpe":"Integer","name":"continuare","id":"id_cb234864_8367_494c_aa4e_7568ada7c844","initValue":"1"},{"condition":"continuare== 1 && somma <= 100","@type":"While","id":"id_f0bf788e_0f95_4b64_97bd_aed88e0111cc","body":{"statements":[{"@type":"Input","name":"prezzo","id":"id_b1b6f3d8_d352_49b2_8179_047d4fd926dc","prompt":"\"Inserisci prezzo prodotto \""},{"@type":"Assign","name":"somma","id":"id_a65fcc18_3acd_4d66_bf7d_e0a76cae0455","value":"somma+ prezzo"},{"@type":"Assign","name":"prodotti","id":"id_b0c09901_9c56_45d0_acc7_81cddfd39421","value":"prodotti+ 1"},{"newline":true,"@type":"Output","id":"id_03dcd0e4_dacc_4cd8_a0b3_68d687780ca7","value":"\"Importo spesa \" + somma"},{"newline":true,"@type":"Output","id":"id_c249a004_3de3_4a90_8d5f_53e32abdde41","value":"\"Numero prodotti \" + prodotti"},{"@type":"Input","name":"continuare","id":"id_33d9ed9c_2993_4273_a86e_3c12e94cc404","prompt":"\"Continuare (1= sì)\""}],"id":"id_5aa9cdda_3869_4412_b7b0_9a595e80d2c8"}},{"newline":true,"@type":"Output","id":"id_a1a93563_4e10_428d_bcb6_81044df7684a","value":"\"Importo totale spesa \" + somma"},{"@type":"Return","id":"id_8d452a27_cd3c_4273_bd64_dc5ac11456c3","maybeValue":null}],"parameters":[]},"id":"id_fa570dd7_add1_48f6_a232_ed400d127460","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":406}