by @Sofi Hernández Cervantes Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_f0fd76dc_f747_474c_b2c6_843fdb119e6b"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"precio","lengthValue2":"5","id":"id_bd14fa08_ad67_41bc_b8fc_4241f7eab64c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"cantidad","lengthValue2":"5","id":"id_2fc93ec9_658b_4253_adf2_73be7fefa56a","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"importe","lengthValue2":"5","id":"id_1fe9f4db_d89d_4a17_8f8a_d6290ac349f6","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"total","lengthValue2":"5","id":"id_e01f1613_fe57_4e2e_8c62_1c54ef68191a","initValue":null},{"newline":true,"@type":"Output","id":"id_fbe82e33_f457_4dca_98ef_bbe3e564d3d1","value":"\"Inserte precio del producto\""},{"@type":"Input","name":"precio","id":"id_8e80b7cd_eee0_4a71_83ef_840383da3521","prompt":null},{"newline":true,"@type":"Output","id":"id_e946b587_7dad_499c_824c_0fc3cde74e55","value":"\"Inserte cantidad del producto\""},{"@type":"Input","name":"cantidad","id":"id_2d0cd5c4_bde3_4616_abc1_0cdac645277b","prompt":null},{"@type":"Assign","name":"importe","id":"id_d6ba4f9c_07fd_491e_ab0a_55ebc4557cdb","value":"precio*cantidad"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4c853e56_d234_40ff_86c1_ea2331aa607e","value":"\"El total a pagar es: \" + importe"}],"id":"id_93e3a60d_d8a6_4738_8466_2299c3f89cd5"},"trueBlock":{"statements":[{"@type":"Assign","name":"total","id":"id_811e8fac_e9d1_400e_9272_7157e2b146c0","value":"importe - (importe*0.10)"},{"newline":true,"@type":"Output","id":"id_47af81da_6f43_411b_8555_f2e05b8f112d","value":"\"El total a pagar es: \" + total"}],"id":"id_303ec254_f824_4748_b2b7_8f7ecc9b9183"},"condition":"importe >= 1000","@type":"If","id":"id_ea862a33_fcf7_4baa_986f_6f2a46a6f408"},{"@type":"Return","id":"id_340b1a15_d01b_415b_9257_0f7a412f8a93","maybeValue":null}],"parameters":[]},"id":"id_d1f16b87_2186_4e9d_a0f8_42e471939579","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":384}