by @stud. Filippo Morelli Fork
{"functions":[],"name":"Morellli F. ES.1","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_31400419_69a9_4d95_84d4_5e053ea5f6a8"},{"@type":"Declare","tpe":"String","name":"capo","id":"id_74e049b9_08d4_4f80_8182_a2ac59b272ac","initValue":null},{"@type":"Declare","tpe":"Integer","name":"qnt","id":"id_3bcc6065_1c7f_4cf7_a61a_49ca49a72d62","initValue":null},{"@type":"Declare","tpe":"Real","name":"przuni","id":"id_2ac7b402_81dd_4401_ab81_fd7c99950aa5","initValue":null},{"@type":"Declare","tpe":"Real","name":"tot","id":"id_ac154bb5_9247_4ed8_8bd3_cd8dc81bfe98","initValue":null},{"@type":"Declare","tpe":"Real","name":"soldi","id":"id_e20a4596_d1bb_411a_95ed_0293b49bc8e6","initValue":"100.00"},{"@type":"Declare","tpe":"Real","name":"soldirest","id":"id_7987ff76_6843_4a9f_8b3c_12be81b547d3","initValue":null},{"newline":true,"@type":"Output","id":"id_974c5983_a569_4e32_af45_64efdbf6b2be","value":"\"cosa vuoi comprare?\""},{"@type":"Input","name":"capo","id":"id_734f8fed_c52e_4bd5_b88f_04eccc5fc376","prompt":null},{"newline":true,"@type":"Output","id":"id_f98dbb56_6cb2_48e8_b301_6f0573930217","value":"\"quanto costa un capo\""},{"@type":"Input","name":"przuni","id":"id_40b648c5_123a_45ea_9da8_bf69f9a9d6ee","prompt":null},{"newline":true,"@type":"Output","id":"id_acf4cc3c_ab7e_497a_b19c_31ec7da878a0","value":"\"quanti ne vuoi acquistare?\""},{"@type":"Input","name":"qnt","id":"id_4edd69c0_40df_4f49_a88e_bff8cb0f7bff","prompt":null},{"@type":"Assign","name":"tot","id":"id_3ab5df30_09b0_407e_88d8_e821b466525c","value":"qnt*przuni"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_447666b1_adf7_4b45_bb6c_5e93eb3f4f8f","value":"\"lo puoi comprare\""},{"@type":"Assign","name":"soldirest","id":"id_8bf1a2a3_eff7_4c11_817a_4789869cfc3d","value":"100-tot"},{"newline":true,"@type":"Output","id":"id_f2b03707_503b_47ee_bd49_e3e0a554316d","value":"\"i soldi restanti sono \" + soldirest"}],"id":"id_19429982_5761_43a5_9245_a2566ca86fd0"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_b5d1933d_21e1_44fb_a399_7be53105b384","value":"\"non lo puoi comprare\""}],"id":"id_14c6b80f_0db1_4270_b0d0_f55a57e73b71"},"condition":"tot>100","@type":"If","id":"id_2c0fa3e5_b9ba_463b_824e_0daa1ceb56df"},{"@type":"Return","id":"id_97fc0390_4929_4fa9_9ea2_b1cb6fb178c3","maybeValue":null}],"parameters":[]},"id":"id_b3d8d4f2_6a79_4bc0_9211_64e2979251e9","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":403}