by @stud. Mattia Sportelli Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_2c7c0e9c_5f84_4868_9390_aac539823b67"},{"@type":"Declare","tpe":"Real","name":"np","id":"id_06e5c473_865c_4d27_b098_1c3aec1b06c9","initValue":null},{"@type":"Declare","tpe":"Real","name":"x","id":"id_066a4db5_163f_4fd5_87f6_4212afc55425","initValue":"1"},{"@type":"Declare","tpe":"Real","name":"a","id":"id_d13a4373_6ab9_4017_90e8_0817890a34b5","initValue":"0.5"},{"@type":"Declare","tpe":"Real","name":"tot1","id":"id_73439f98_d091_459b_8ad4_ce9a7395404b","initValue":null},{"@type":"Declare","tpe":"Real","name":"tot","id":"id_2f2bebf2_eb71_4869_a890_baa783351fd9","initValue":null},{"newline":true,"@type":"Output","id":"id_ecd65fb6_92ef_44f8_b7a5_f9ea81b15ff3","value":"\"quante ore stazioni nel parcheggio?\""},{"@type":"Input","name":"np","id":"id_893c49e9_8928_471b_bddb_308fca5c536b","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"tot","id":"id_6e8867ec_25cb_4a3a_ae11_aa8117e2ed94","value":"np*x"}],"id":"id_562fbc4e_48c0_47c9_9775_759289cfbbd8"},"trueBlock":{"statements":[{"@type":"Assign","name":"tot1","id":"id_2ebf3f08_325a_4761_ae6e_88070058a7c9","value":"np-x"},{"@type":"Assign","name":"tot","id":"id_4b470b49_f935_4ea2_8487_d325a8e18ff9","value":"(tot1*a)+(1*x)"}],"id":"id_93bfa381_fb0c_49c6_bd80_685487548087"},"condition":"np>1","@type":"If","id":"id_d03087f3_8e3b_4260_8d61_e060a70c2fdc"},{"newline":true,"@type":"Output","id":"id_6d93d83b_98c8_4760_922b_4c3a1cf8b571","value":"\"paghi \" + tot + \" €\""},{"@type":"Return","id":"id_af158f00_a1aa_45f0_84fe_8d0fa2daafc2","maybeValue":null}],"parameters":[]},"id":"id_3a5d15af_8cc4_4cd2_b40f_7a46fbb6aa41","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":166}