by @stud. Andrea Tramparulo Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_a4c5533d_929d_4c2f_8fb4_df3d35d77378"},{"@type":"Declare","tpe":"Real","name":"ore","id":"id_390b2356_61b8_4ae7_a147_780358331247","initValue":null},{"@type":"Declare","tpe":"Real","name":"prezzo","id":"id_7251764b_2d90_4104_a317_d02e7506aeb3","initValue":"1"},{"@type":"Declare","tpe":"Real","name":"prezzo2","id":"id_20ff9b69_692e_4ba2_89bf_6a98b39dc4d8","initValue":"0.5"},{"@type":"Declare","tpe":"Real","name":"sommaprezzo","id":"id_980cf04e_f935_43fc_ab4f_498c6df18d08","initValue":null},{"@type":"Declare","tpe":"Real","name":"restore","id":"id_50b97417_9bf6_48e5_9937_6d8ddb65f60d","initValue":null},{"newline":true,"@type":"Output","id":"id_a01e1365_24e9_43b5_ae1d_571725bb37aa","value":"\"quante ore stai?\""},{"@type":"Input","name":"ore","id":"id_b6a143b1_f109_4089_abea_3bf43517fabd","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"sommaprezzo","id":"id_fc692e7e_c647_4792_9cf5_73378c6b4154","value":"ore*prezzo"}],"id":"id_c6e80cb8_cac2_4e7c_bc0e_def8042a7a67"},"trueBlock":{"statements":[{"@type":"Assign","name":"restore","id":"id_3584ffe4_3ca0_494d_ade0_a8085f0ce17d","value":"ore-1"},{"@type":"Assign","name":"sommaprezzo","id":"id_678d569e_035b_40ac_91a7_860b08df7159","value":"prezzo+(restore*prezzo2)"}],"id":"id_4b58d024_f80c_4a19_82bd_54980cfd87ad"},"condition":"ore>1","@type":"If","id":"id_6d7930b0_e58d_426e_bf60_581210f7498f"},{"newline":true,"@type":"Output","id":"id_49ba4f4f_87a2_4d06_ad6c_59f05ed2e2c6","value":"\"devi pagare\" +sommaprezzo+ \"€\""},{"@type":"Return","id":"id_ca0c34d1_1479_4c6d_beef_78d7d2a6cd9d","maybeValue":null}],"parameters":[]},"id":"id_c8cd0cf1_dc71_47c1_9f44_876d9de1199f","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":195}