by @stud. Mattia Sportelli Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2ec7906d_5b44_42bf_ba3f_c7c67645dd51"},{"@type":"Declare","tpe":"Integer","name":"s","id":"id_35b13c28_1cb2_4dcb_af36_9fdd28670230","initValue":null},{"@type":"Declare","tpe":"String","name":"a","id":"id_7e536c69_bd8e_4317_9f29_5359a18841df","initValue":null},{"@type":"Declare","tpe":"Integer","name":"n","id":"id_84d6a8e8_1bfc_477c_9b30_1b4303ad6c47","initValue":null},{"@type":"Declare","tpe":"Integer","name":"c","id":"id_c8a39d75_566b_4ddf_a2f1_c5bd32906531","initValue":null},{"@type":"Declare","tpe":"Integer","name":"c1","id":"id_8077abe9_a31d_4fcc_b6db_d6649c5c4415","initValue":null},{"newline":true,"@type":"Output","id":"id_8fc4c2a6_07f9_4d96_b83d_45f003309969","value":"\"quanti soldi hai?\""},{"@type":"Input","name":"s","id":"id_4f33d904_f0a0_4bd5_8124_aacd70ad15ce","prompt":null},{"newline":true,"@type":"Output","id":"id_bd0fd971_9fff_4fb0_bb8a_29ad39832c7c","value":"\"cosa vuoi acquistare?\""},{"@type":"Input","name":"a","id":"id_ec4810f3_1ce7_40a2_8b49_3ce051a729ff","prompt":null},{"newline":true,"@type":"Output","id":"id_a1237f96_9e04_4351_94a8_1fa743dbef7f","value":"\"quanti \" + a + \"vuoi acquistare?\""},{"@type":"Input","name":"n","id":"id_0d1336aa_8798_4dd2_97d8_8555defabfe8","prompt":null},{"newline":true,"@type":"Output","id":"id_397f5f69_477b_4f34_acee_8f73bcfe11b2","value":"\"quanto costa 1\" + a + \"?\""},{"@type":"Input","name":"c","id":"id_db002b6b_2b14_4396_b111_bf1659c63311","prompt":null},{"@type":"Assign","name":"c1","id":"id_66e42cfc_2f12_42e8_ad8c_ba34f084281b","value":"(n*c)-s"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d37e9c2f_db43_4433_a59e_62f7d255183c","value":"\"ti servono \" + c1 + \" euro\""}],"id":"id_204e8a8d_08d8_477e_96e0_3af03dd4ba62"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d98cfc75_3cdb_4992_8783_2a9315570276","value":"\"ti rimangono \" + c1 + \" euro\""}],"id":"id_066357bc_5616_46e4_a70f_a84dc2f8068d"},"condition":"c1>0","@type":"If","id":"id_55b5aebc_3e46_4b88_ad2e_e7f8dc1abd2f"},{"@type":"Return","id":"id_faa432aa_f6d1_4667_9503_5594c878c03f","maybeValue":null}],"parameters":[]},"id":"id_26c5e93d_bfa5_4ad5_91ef_ac8a9faaef1e","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":147}