by @stud. Mattia Sportelli Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0b7bc167_d609_45c0_82db_27db265281c7"},{"@type":"Declare","tpe":"Real","name":"soldi","id":"id_b1e67cd9_896f_4eb1_ae57_1131f28bcb52","initValue":null},{"@type":"Declare","tpe":"Integer","name":"Nbrioches","id":"id_d1dfcdf0_3191_4969_b30e_15cf3569b8b2","initValue":null},{"@type":"Declare","tpe":"Real","name":"Punitariobrioches","id":"id_51daf313_cb88_4936_8c9f_e7248894e407","initValue":null},{"@type":"Declare","tpe":"Real","name":"Ptotalebrioches","id":"id_b6226a94_c6c7_4a10_9ca5_cc53fdae4747","initValue":null},{"@type":"Declare","tpe":"Real","name":"soldirimasti","id":"id_9fe3079b_85f3_4c00_8cba_9671ec15c57d","initValue":null},{"@type":"Declare","tpe":"Real","name":"soldimancanti","id":"id_b2e2b7e8_5467_40ec_98cc_17fe35938dd1","initValue":null},{"newline":true,"@type":"Output","id":"id_ce2fc8e7_f412_4b1b_9e76_49f43279c887","value":"\"quanti soldi hai\""},{"@type":"Input","name":"soldi","id":"id_9545a9b5_aa02_479e_baf5_5e69eb927ec9","prompt":null},{"newline":true,"@type":"Output","id":"id_e7e8b5ec_0ebb_4ef0_afc9_2ea3a561cef1","value":"\"costo di una brioches\""},{"@type":"Input","name":"Punitariobrioches","id":"id_bbc73e89_b22a_4e18_9243_44e6b9d7b2f1","prompt":null},{"newline":true,"@type":"Output","id":"id_e3dac48f_8bc6_414a_af59_bccd95f480ea","value":"\"quante brioches vuoi?\""},{"@type":"Input","name":"Nbrioches","id":"id_6ea77726_89b1_4990_b813_009f05a1b486","prompt":null},{"@type":"Assign","name":"Ptotalebrioches","id":"id_271701e9_23c6_4b66_9359_b67b4d7bc802","value":"Punitariobrioches*Nbrioches"},{"newline":true,"@type":"Output","id":"id_e77f4d14_ba8b_43ab_a26c_7727960db275","value":"Ptotalebrioches"},{"falseBlock":{"statements":[{"@type":"Assign","name":"soldimancanti","id":"id_e70faa48_00d8_4d2f_8d2b_820103f52000","value":"Ptotalebrioches-soldi"},{"newline":true,"@type":"Output","id":"id_5bde743d_91a1_4600_9919_c6950ebf0c0f","value":"\"non puoi pagare,mancano\""},{"newline":true,"@type":"Output","id":"id_cf122c06_24d3_4a67_9cb6_6d1676a75543","value":"soldimancanti"}],"id":"id_f87b40fe_5427_4c10_b4f6_54f7f5644cc2"},"trueBlock":{"statements":[{"@type":"Assign","name":"soldirimasti","id":"id_48f38a44_7508_48df_b43b_5723e92e65c6","value":"soldi-Ptotalebrioches"},{"newline":true,"@type":"Output","id":"id_1eb43f0f_28ac_4a52_a6d3_0dd79f5c62cf","value":"\"puoi pagare ti rimane\""},{"newline":true,"@type":"Output","id":"id_39d32cea_9271_4f9b_8327_7f1d8795a534","value":"soldirimasti"}],"id":"id_949fb9e9_99a3_4d84_8d05_66e57e00e26e"},"condition":"soldi >= Ptotalebrioches","@type":"If","id":"id_f64a6d9a_8dd0_41fd_a414_0299be5c5bad"},{"@type":"Return","id":"id_7d66adc6_b011_4cae_a8b2_bb7ab33a80af","maybeValue":null}],"parameters":[]},"id":"id_ab235e32_537d_4086_9949_abaeffb46286","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":612}