by @stud. Tommaso Brentani Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_61ff5baa_1c6f_47d2_8ac6_c99a05b8fbd6"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_30174971_b2e5_49ae_aefa_fab514a8955d","initValue":null},{"@type":"Declare","tpe":"Real","name":"p","id":"id_7c896ec5_a8d2_4f80_a00b_0f7088936343","initValue":null},{"newline":true,"@type":"Output","id":"id_0c363e4f_9b54_49e1_971b_9b4cf04ea1dd","value":"\"dammi il numero fotocopie\""},{"@type":"Input","name":"x","id":"id_56301737_f9c8_4609_9695_f27570b54acd","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"p","id":"id_ce289eca_905f_413d_bd47_54f4c057cfb8","value":"0.10*x"}],"id":"id_1e038244_6687_4bd2_a5ca_6b2df0e859bc"},"trueBlock":{"statements":[{"@type":"Assign","name":"p","id":"id_1e567ec5_643d_49ca_bfb5_2c4611a330ac","value":"(0.10*5)+(x-5)*0.05"}],"id":"id_4adf5a24_760d_41c1_ae4b_71792bfa4833"},"condition":"x<5","@type":"If","id":"id_09ed17b0_6b61_487e_8b51_845349aa0b6e"},{"newline":true,"@type":"Output","id":"id_dfe5bb9d_a7be_423f_b1cb_31073abf45d5","value":"\"il prezzo da pagare รจ\" + p"},{"@type":"Return","id":"id_5298f1f5_55b2_4f67_9367_b77829bf7e87","maybeValue":null}],"parameters":[]},"id":"id_37872302_a3de_4f4a_88bb_394c7bc424c2","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":132}