by @stud. Mattia Sportelli Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_64bc9019_9282_4026_9a5c_77496bf629d8"},{"@type":"Declare","tpe":"Integer","name":"nf","id":"id_d687afbc_5cf1_4bec_a904_f192182709e0","initValue":null},{"@type":"Declare","tpe":"Real","name":"a","id":"id_569e1ead_4135_45a3_a84c_589a29a083a3","initValue":"0.05"},{"@type":"Declare","tpe":"Real","name":"b","id":"id_fecc18a5_a4b0_4504_83bd_52d0155b33cd","initValue":"0.10"},{"@type":"Declare","tpe":"Integer","name":"tot1","id":"id_bfbb10e0_0b4c_49e3_9e38_9bb9cf0039c4","initValue":null},{"@type":"Declare","tpe":"Real","name":"tot","id":"id_646888b0_1f42_46b1_b1fb_caa6ec3ab577","initValue":null},{"newline":true,"@type":"Output","id":"id_68d24535_fa9e_40d8_869f_9b5f8f4b4296","value":"\"dammi il numero fotocopie\""},{"@type":"Input","name":"nf","id":"id_5d27527e_cfb1_493e_a464_eaae4b955ea9","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"tot","id":"id_6c2be9cd_73ad_429d_bf9c_c897e47189e3","value":"nf*a"}],"id":"id_b611e74a_9ce5_405c_92e0_d429b0c45854"},"trueBlock":{"statements":[{"@type":"Assign","name":"tot1","id":"id_ae70e47a_fcc5_471d_b9e8_ba69511e4fc5","value":"nf-5"},{"@type":"Assign","name":"tot","id":"id_1b8d0db4_7149_47ca_9e6f_ce4eae1336bf","value":"(tot1*b)+(nf*a)"},{"newline":true,"@type":"Output","id":"id_2f0af0e0_0d32_40c8_8b28_25c6a5ae670b","value":"\"il presso finale è \" + tot + \"€\""}],"id":"id_1b43f20e_43c6_4c51_b5f9_a565dfa28237"},"condition":"nf>=5","@type":"If","id":"id_5fa662ca_254c_499c_a13b_b684804ab6dc"},{"newline":true,"@type":"Output","id":"id_4ae281c0_85e4_47f7_8556_8277a18fe5b3","value":"\"il presso finale è \" + tot + \"€\""},{"@type":"Return","id":"id_202fb8f8_8b5c_4961_a661_4684675806d7","maybeValue":null}],"parameters":[]},"id":"id_4ef139d4_ea9a_4c35_a4b3_0347e565d4b7","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":209}