by @Julian Garcia Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_0e89bb2e_7929_4995_ae02_9cb845bb70f2"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"precio","lengthValue2":"5","id":"id_5522b41e_bb00_4019_84d7_f4b358f78afa","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"porcentaje","lengthValue2":"5","id":"id_d7a2d466_2052_4244_a365_0d7614cb1f7b","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"descuento","lengthValue2":"5","id":"id_24b78172_b8f4_4ace_8adf_4b261a78d25b","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"preciofinal","lengthValue2":"5","id":"id_6e5b95f5_d9f9_4b83_acfb_ab583e005cbe","initValue":null},{"newline":true,"@type":"Output","id":"id_772b8825_b87b_4860_8b5e_6e07ac48b125","value":"\"¿cual es el precio del articulo?\""},{"@type":"Input","name":"precio","id":"id_7f5473e6_573f_4d1e_8460_f6a795825e09","prompt":null},{"newline":true,"@type":"Output","id":"id_a6420d43_d9ba_46c4_9a40_8d7e56b1bae5","value":"\"¿cual es el porcentaje de descuento?\""},{"@type":"Input","name":"porcentaje","id":"id_d735f333_9d9b_4495_b494_2f02f554ef98","prompt":null},{"@type":"Assign","name":"descuento","id":"id_07ede6d7_d0c9_4465_8d5b_c39ed5b410b6","value":"precio * porcentaje / 100"},{"@type":"Assign","name":"preciofinal","id":"id_0d199440_acf6_43da_a229_af4653a5dea9","value":"precio - descuento"},{"newline":true,"@type":"Output","id":"id_4c4d05cb_d7cb_46b9_9984_3f5cc4ce84b6","value":"\"descuento: $\" + descuento"},{"newline":true,"@type":"Output","id":"id_6fc62afc_e03a_4ee8_a2b7_996b8aebe81c","value":"\"precio final: $\" + preciofinal"},{"@type":"Return","id":"id_4a71f2a7_d1d3_44a6_b3f7_08c935aef364","maybeValue":null}],"parameters":[]},"id":"id_5b6118db_c3ee_4f4e_8c3f_10487b3bd89b","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":307}