by @Sarah Sanchez Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_7b372650_c69a_4fba_883f_340bb9b07600"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"tele","lengthValue2":"5","id":"id_da581a83_e7cd_45c2_bc57_51965b7205fe","initValue":null},{"@type":"Assign","name":"tele","id":"id_57676140_d760_4f7a_a26c_c0975ad2d604","value":"100"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"cantidad","lengthValue2":"5","id":"id_9c8e9fe3_b0d2_40b3_83f3_0159a8fef498","initValue":null},{"newline":true,"@type":"Output","id":"id_474cc7f4_b8f1_4b0d_b18c_b2ce3df57883","value":"\"cuantas teles llevas?\""},{"@type":"Input","name":"cantidad","id":"id_3ab81064_222f_46d8_a428_4e782dd56122","prompt":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"totalcompra","lengthValue2":"5","id":"id_d03578a5_65dc_4529_b318_f6b8c8369616","initValue":null},{"@type":"Assign","name":"totalcompra","id":"id_15075840_4dfa_49b7_990b_468be7b96953","value":"100 * cantidad"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"totalcondescuento","lengthValue2":"5","id":"id_938756aa_626f_45db_af57_b2c57127645d","initValue":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_e2eb7e4d_adad_471e_90cc_8e252ffcc181","value":"\"tu total es:\" + totalcompra"}],"id":"id_75fac9f1_b0f4_49d1_a15a_24ca28a4361b"},"trueBlock":{"statements":[{"@type":"Assign","name":"totalcondescuento","id":"id_68a84608_bb1b_482e_9d3f_b0a2b8655072","value":"totalcompra - (totalcompra * 10 /100)"},{"newline":true,"@type":"Output","id":"id_d09f2652_3c2e_4803_8fe6_e31f80b1f231","value":"\"tu total con descuento es:\" + totalcondescuento"}],"id":"id_60c944e9_f74f_4bef_91c4_e92757b40845"},"condition":"totalcompra >= 1000","@type":"If","id":"id_ee2f42a8_b700_49ae_b0a9_e03b9ceca821"},{"@type":"Return","id":"id_34865bb5_2b4f_44f9_9558_0694d61c3af2","maybeValue":null}],"parameters":[]},"id":"id_5ab47d4c_29e9_41ce_a395_c3d33a80ab97","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":638}