by @Davide Silvestro Fork
{"functions":[],"name":"Equazione di secondo grado","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_8a2115c5_2927_461b_95b3_a20516cd3f6b"},{"@type":"Input","name":"a, b, c","id":"id_f1f6221c_01dd_4164_b322_8b97fdc55215","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Delta=b*b-4*a*c","lengthValue2":"5","id":"id_b7cf5c97_0b21_4d51_9284_7422bc560e92","initValue":null},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"x1=(-b+sqroot(delta))/(2*a) x2=(-b-sqroot(delta))/(2*a)","lengthValue2":"5","id":"id_5b3ad8cd_716b_4104_8e4e_1638f00d40ae","initValue":null}],"id":"id_71cf1283_ce09_4356_8c88_7b786634cd51"},"trueBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"x=-b/(2*a)","lengthValue2":"5","id":"id_f36333e3_d9a5_42b2_910b_37294328ed45","initValue":null}],"id":"id_4fbd078a_6def_4dcb_89df_68b8495ffe60"},"condition":"Delta=0?","@type":"If","id":"id_8fc2809c_fe44_4e3c_aa48_a4e327b3066f"},{"newline":true,"@type":"Output","id":"id_d6eaa55f_3f86_41fc_8031_9eaab4e18474","value":"Stampa x/x1, x2"}],"id":"id_71fe20c5_6db7_41d8_b808_a5b15d103d84"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_8c5696a6_7a55_48f9_b06e_5cd0a99c3778","value":"Stampa “nessuna soluzione reale”"}],"id":"id_a87c24c2_a6ee_4741_8639_bfefe4e2fe02"},"condition":"Delta<0?","@type":"If","id":"id_bc7cacfc_ce0a_4320_851f_3c08ace3ae38"},{"@type":"Return","id":"id_16ff1ce2_15a8_488f_96cd_8a2b2b9672a0","maybeValue":null}],"parameters":[]},"id":"id_6238d404_da10_49d9_a056_a1e09be19694","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":276}