{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_d939a151_3e85_4aa1_8932_b62b7ebab0de"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"subtotal","lengthValue2":"5","id":"id_aa6ade55_c88e_40b0_810b_76e0e2952e98","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"desconto","lengthValue2":"5","id":"id_23dfd087_f502_4b2d_9863_6a06e3c69592","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"valortotal","lengthValue2":"5","id":"id_73a2dfb5_55f4_48d4_a5b4_cf82bbcbc8b4","initValue":null},{"@type":"Assign","name":"subtotal","id":"id_27653768_93c4_42ea_a4b2_be6efc1df058","value":"quantidade*preco"},{"@type":"Assign","name":"desconto","id":"id_d09724af_8229_4639_814d_243ea8e8f28e","value":"subtotal*percentual/100"},{"@type":"Assign","name":"valortotal","id":"id_3a9cef25_6c0a_425d_9242_0845ef4ad457","value":"subtotal-desconto"},{"newline":true,"@type":"Output","id":"id_a69d91a0_a81f_46b8_a4b5_b482bb34498f","value":"\"subtotal:\""},{"newline":true,"@type":"Output","id":"id_ea99eb43_9201_496a_919b_ce4f28b329d4","value":"subtotal"},{"newline":true,"@type":"Output","id":"id_6f02b91e_1646_4e88_bea8_b4dfc71f95e3","value":"\"Percentual de desconto:\""},{"newline":true,"@type":"Output","id":"id_7f99a128_7b54_47cf_ad61_07a815f8f26f","value":"percentual"},{"newline":true,"@type":"Output","id":"id_84724c08_be31_4bbe_9baa_8b5e3cb05264","value":"\"Valor do desconto:\""},{"newline":true,"@type":"Output","id":"id_bca3707a_6469_4767_9eeb_d78864298721","value":"desconto"},{"newline":true,"@type":"Output","id":"id_4333d6b2_d1b6_4345_b562_38b60f8fd752","value":"\"Total a pagar:\""},{"newline":true,"@type":"Output","id":"id_bf47a5ae_4eae_4faf_a2e7_180820f37ee2","value":"valortotal"},{"@type":"Return","id":"id_cbac7eb5_ccdb_47db_8efc_1274ce3a05cd","maybeValue":null}],"parameters":[]},"id":"id_21f9160c_7ef7_49d7_a523_5f1f6b64659e","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":1781}