by @Rodolfo alberto Fajardo cabrera Fork
{"functions":[],"name":"Descuento y PrecioTotal","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0d752f31_d5ea_49a8_9749_4a5aca6f1bdf"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Precio","lengthValue2":"5","id":"id_7e05d79b_a6d1_4687_8782_35f694cff264","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Porcentaje","lengthValue2":"5","id":"id_f96e7288_12d3_40b0_9b7f_2aca253a9a3c","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"Descuento","lengthValue2":"5","id":"id_ec1ecb5a_f689_475e_b2ab_5da2880b809c","initValue":"0"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"PrecioTotal","lengthValue2":"5","id":"id_a0ce9ab9_ddea_4381_b67e_643d9dc4ef4e","initValue":"0"},{"@type":"Input","name":"Precio","id":"id_2ee6320a_9497_4c1e_b027_10792a687bf1","prompt":null},{"@type":"Input","name":"Porcentaje","id":"id_3629ddaa_0bc0_4e14_9940_a1786db29241","prompt":null},{"@type":"Assign","name":"Descuento","id":"id_6065750d_7a90_456b_a8fd_c25abfc27b38","value":"Precio*Porcentaje/100"},{"@type":"Assign","name":"PrecioTotal","id":"id_e3b62613_2fdd_4849_a5d3_37e11591331a","value":"Precio-Descuento"},{"newline":true,"@type":"Output","id":"id_c71f4dde_3309_4e4e_85b2_e69d619073ee","value":"Precio"},{"newline":true,"@type":"Output","id":"id_b41aa2e7_b5d8_4930_a66d_5e8a101d4858","value":"Descuento"},{"newline":true,"@type":"Output","id":"id_93e61868_4c8f_4cda_a65f_80ed273d2141","value":"PrecioTotal"},{"@type":"Return","id":"id_e22f1de8_02c8_4641_b092_51b307c632b3","maybeValue":null}],"parameters":[]},"id":"id_ddcb5393_4299_4270_901a_797e5136cb24","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":325}