by @stud. Filippo Morelli Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_be4467e2_4ac1_493b_ab7b_4c05483518c6"},{"@type":"Declare","tpe":"Real","name":"x","id":"id_89351233_98eb_4140_ab85_d41c9bd02cb3","initValue":null},{"@type":"Declare","tpe":"Real","name":"tot","id":"id_0dc40812_3a4c_4d52_b46d_d05a2fed1ef9","initValue":null},{"newline":true,"@type":"Output","id":"id_7bc6a619_eb35_405d_a1e8_fdf3bb78c36c","value":"\"dammi x\""},{"@type":"Input","name":"x","id":"id_cd5c250f_b509_41c1_a832_6e706e481b1c","prompt":null},{"falseBlock":{"statements":[{"@type":"Assign","name":"tot","id":"id_504f4604_ee5f_4dca_8e15_ef846af0efa2","value":"x"},{"newline":true,"@type":"Output","id":"id_e7376980_7943_409a_9e23_d7956d9bc494","value":"\"il numero è negativo\""}],"id":"id_c5384999_a76f_495d_90c1_dc86078a71bd"},"trueBlock":{"statements":[{"@type":"Assign","name":"tot","id":"id_88c6dbdc_faf5_4479_afee_40fa503b4d10","value":"x*x"}],"id":"id_10864aa4_537f_4f2c_a832_f2ff5d13d6ee"},"condition":"x>0","@type":"If","id":"id_e9192b8e_6e7a_43d2_9b2b_38f434dca6d7"},{"newline":true,"@type":"Output","id":"id_ed22d894_6b1b_4b21_8806_dab0e9e489c1","value":"\"il risultato è...\""},{"newline":true,"@type":"Output","id":"id_ef4b5419_cb04_4a55_b3b3_01decd8b609f","value":"tot"},{"@type":"Return","id":"id_aadcebad_81ea_4827_bff1_5577ebb49fa8","maybeValue":null}],"parameters":[]},"id":"id_44ef1b2d_a424_4c7a_b568_09fcca8d498b","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":125}