by @Giorgia Ventura Fork
{"functions":[{"rawId":"id_3e14c919_a34d_4702_9625_f5e98ee7cd6c","tpe":"Void","name":"inizio","statements":[{"@type":"Begin","id":"id_6ae7c3ed_1ccc_4000_a287_eb5abc5e5000"},{"@type":"Declare","tpe":"Integer","name":"Dichiara a,b,c,d,x,x1,x2 Reale","id":"id_e74952c1_1ae5_48f5_b5da_ed21b928c341","initValue":null},{"@type":"Comment","id":"id_df123f08_1482_4e6d_a181_03d53e934594","text":"Scrivi \"coefficiente variabile di secondo grado\""},{"@type":"Call","id":"id_2e23d82b_446c_4ac1_a40e_90a3ce2136ea","value":"Leggi a"},{"@type":"Comment","id":"id_a578b4e2_5e3b_442c_a706_1353c1c903f2","text":"scrivi\"coefficiente variabile di primo grado\""},{"@type":"Call","id":"id_f7c1c177_44e8_49ba_b5bc_f7d01d2b4548","value":"leggi b"},{"@type":"Comment","id":"id_c1414842_74eb_49d5_a3a5_69cc9e074ee5","text":"scrivi\"coefficiente termine noto\""},{"@type":"Call","id":"id_c4e03d02_6ff2_48fd_80b0_a49c00729a37","value":"leggi c"},{"@type":"Declare","tpe":"Integer","name":"d=b*2-4ac","id":"id_4380446d_1e13_4f8a_87a1_447fb9beb45f","initValue":null},{"@type":"Call","id":"id_7573f6cd_6e54_4393_8b6a_a4b9a9a17dbf","value":"dichiara equazione: Stringa"},{"@type":"Declare","tpe":"Integer","name":"x=0","id":"id_e2d9770f_f6c1_4911_98db_60f8fd95b477","initValue":null},{"@type":"Call","id":"id_3f0239e1_119e_4ec2_b68c_bc3951303b9a","value":"equazione y=ax*2+bx+c"},{"@type":"Call","id":"id_18404c7d_870b_431d_8bc4_5a1cf1ba0823","value":"dichiara vx,vy Reale"},{"@type":"Call","id":"id_e4068e8f_5480_46d8_bad8_974d71425db6","value":"vx=-b/(2a)"},{"@type":"Call","id":"id_668f99c9_faa6_4587_811a_5495d98c5882","value":"vy=-d/(4a)"},{"@type":"Comment","id":"id_6533c5bb_ac74_4c22_b243_b592c31d9072","text":"scrivi\"vertice ha cordinate V(vx;vy)\""},{"@type":"Call","id":"id_c489f96b_b1ee_4422_8442_fbdf4d2cab05","value":"dichiara asse Reale"},{"@type":"Call","id":"id_64ec610c_ffe7_4ef2_a7e4_1ed75b356303","value":"asse x=-b/2a"},{"@type":"Call","id":"id_ece1e1e3_f5c1_469f_88f3_52e278e4cf25","value":"dichiara fx,fy Reale"},{"@type":"Call","id":"id_bb9498f7_b09d_4253_915a_1036a3084881","value":"fx=vx"},{"@type":"Call","id":"id_2a0cec57_0cea_4baf_9adf_a97a13da5f2c","value":"fy=(1-d)/(4a)"},{"@type":"Comment","id":"id_76ece08d_ae26_455a_8c03_9497d8de3772","text":"scrivi\"fuoco ha cordinate F=(fx,fy)\""},{"@type":"Call","id":"id_d93e8c0f_b62c_4d2d_b846_8676c04bd15c","value":"dichiara direttrice Reale"},{"@type":"Call","id":"id_d989be5e_c999_4414_bc50_aa762fa85d97","value":"direttrice=-(1+d)/4a"},{"@type":"Comment","id":"id_71664f69_a51f_4302_a8e8_fe74b7822258","text":"scrivi\"diretta y=-(1+d)/4a\""},{"falseBlock":{"statements":[{"@type":"Comment","id":"id_4abf4005_1c98_49b4_bff8_ec9d02b20d93","text":"scrivi\"nessuna intersezione con asse x\" ."}],"id":"id_98d83d39_b19a_41e8_bdad_011068071678"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"@type":"Call","id":"id_2faad203_e012_4b23_ad65_4cc86321765a","value":"x1=(-b+d)/2a"},{"@type":"Call","id":"id_5be9ef9d_46db_46a4_8e64_1ccdc0fb3be7","value":"x2=(-b-d)/2a"},{"@type":"Comment","id":"id_83aa0746_a993_4310_9d45_6ad381176bdf","text":"scrivi\"la parabola interseca l'asse x nei punti x1 e x2\" ."}],"id":"id_5b19e332_327d_4f41_86c5_890a37ce8ed6"},"trueBlock":{"statements":[{"@type":"Call","id":"id_e1046296_1c3a_45eb_9e0d_a2407bf4a2ce","value":"x1=x2=-b/2a"},{"@type":"Comment","id":"id_c2650cab_6204_468b_bc80_5c1bc92fc5ee","text":"scrivi\"la parabola interseca l'asse x nel punto x1=x2\" ."}],"id":"id_9962b78e_14b1_47f9_9d06_b67927944091"},"condition":"d=0","@type":"If","id":"id_7213a896_8be0_4c04_ab76_37551e19555b"}],"id":"id_bfe3637b_b0da_4c1e_b904_0d3ef307e532"},"condition":"d>=0","@type":"If","id":"id_d1fcb661_3425_47e9_b568_f260ce7929b3"},{"@type":"Return","id":"id_f658d850_9fc3_4faa_b554_67766588d90a","maybeValue":null}],"parameters":[]}],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_7f693f74_a2e0_4549_b99e_c13fe604933d"},{"@type":"Return","id":"id_323af252_7522_4449_8e1c_3a263a5caefb","maybeValue":null}],"parameters":[]},"id":"id_b3ae6601_ab4a_4074_8021_957d8e71c29c","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":1011}