by @Wanny Maria Fork
{"functions":[],"name":"Alg.01 NL","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_4066e165_3617_4369_b363_bd7cb3e65b6a"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Distancia","lengthValue2":"5","id":"id_5b2cf17e_55a0_4dd1_8dd9_d6d186165b13","initValue":null},{"@type":"Input","name":"Distancia","id":"id_fdf8eae3_e602_4217_a82c_a04a242dd5f1","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Consumo","lengthValue2":"5","id":"id_2a9161ca_1567_4c0e_95b9_0b5f6e90ed61","initValue":null},{"@type":"Input","name":"Consumo","id":"id_0615bb59_0d5b_4cf5_ae8b_474023786211","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Litro","lengthValue2":"5","id":"id_d3d5b44c_bb9e_4799_8b09_c06ba8ff8209","initValue":null},{"@type":"Input","name":"Litro","id":"id_c61b002e_d869_451b_bc6e_b281f73fecd5","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Preco","lengthValue2":"5","id":"id_3b3f154c_1dc7_4a8a_a003_9258a4d57a25","initValue":"0"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4bd04fb6_97a7_46d2_be0e_656ee671991e","value":"Mostrar \"Dados inválidos\""}],"id":"id_4c3fb6d6_ec0f_4901_9322_6d7e304de96b"},"trueBlock":{"statements":[{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Litros","lengthValue2":"5","id":"id_ec71c522_f329_445f_b092_6437f877c2ca","initValue":"Distancia/Consumo"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"Custo","lengthValue2":"5","id":"id_c2ae42ea_8f24_4efd_a60f_0fd775688a1a","initValue":"Litros*Preco"},{"newline":true,"@type":"Output","id":"id_65079b74_90ef_45fa_b7ac_e9c5063f7663","value":"Mostrar litros e custos"}],"id":"id_49e2111b_f83b_4bad_a457_38391dfd99da"},"condition":"Consumo>=0","@type":"If","id":"id_701572e0_253f_4290_90b3_b43fc3efbdb4"},{"@type":"Return","id":"id_b9a69187_1e44_4962_98bf_21c220e560b1","maybeValue":null}],"parameters":[]},"id":"id_28f83848_25e6_4c35_92f6_a0b486f901d5","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":705}