by @Mahmoud Samir Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_38c70e4f_4205_48f7_a87c_fb34bb8a173f"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"consumo","lengthValue2":"5","id":"id_6b5aca82_3b25_4693_8314_fe12b1a78f21","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"distanza","lengthValue2":"5","id":"id_714be92d_9b98_42a9_81e4_9e32b156e260","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"prezzo","lengthValue2":"5","id":"id_eb7cda99_188c_485b_9b19_cc3fc3e6ec85","initValue":"0"},{"@type":"Input","name":"consumo","id":"id_6ff42a6a_1f37_4407_96a2_a54ae2d1a211","prompt":null},{"@type":"Input","name":"distanza","id":"id_d8551cd1_8053_4fe0_b057_e2bcc1778374","prompt":null},{"@type":"Input","name":"prezzo","id":"id_4c30872b_1105_453d_97d0_cd6dbafb869c","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"litri","lengthValue2":"5","id":"id_dd2eb364_50d9_4291_85ec_b0eea1e71d16","initValue":"distanza/consumo"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"costo","lengthValue2":"5","id":"id_bc3b3938_338f_426a_9570_beae802029c7","initValue":"litri*prezzo"},{"newline":true,"@type":"Output","id":"id_b6127131_7992_4eb2_8e8c_f9f07cf519ab","value":"costo"},{"@type":"Return","id":"id_2d9cb69e_51fe_4849_8c33_85eb160569ee","maybeValue":null}],"parameters":[]},"id":"id_eeecb2e3_e4f9_4f25_8a67_fff03871e53e","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":127}