by @DANIEL BASTIÁN MIRANDA QUIROZ Fork
{"functions":[],"name":"Vectores costos","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_510d85bc_4d36_4df8_888c_3facd16edb32"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"6","tpe":"RealArray","name":"x","lengthValue2":"5","id":"id_000ac285_8b8a_4009_9dba_7a17f1bad64d","initValue":null},{"newline":true,"@type":"Output","id":"id_ae55516e_8fb7_483d_bd69_31ae9274afd9","value":"\"este programa le pedirá los precios de 6 insumos que usted quiera comprar y se aplicará un descuento en el caso de que se aplique\""},{"newline":true,"@type":"Output","id":"id_9ff46765_f1d3_48e8_b2aa_379c5b5de43e","value":"\"ingrese los precios\""},{"varName":"i","incr":"1","@type":"ForLoop","start":"0","end":"5","id":"id_62da070f_7578_4f25_95a1_8b2b80e27f1c","body":{"statements":[{"@type":"Input","name":"x[i]","id":"id_ebac063a_2c08_4a27_895e_63d0ea96767a","prompt":null}],"id":"id_97dd8eea_6f53_4c9c_8e7e_61629e4725fa"}},{"varName":"i","incr":"1","@type":"ForLoop","start":"0","end":"5","id":"id_a9388623_3096_4773_8882_411275140a33","body":{"statements":[{"falseBlock":{"statements":[],"id":"id_482219d0_8086_4e8f_bd47_84bacc28aa28"},"trueBlock":{"statements":[{"@type":"Assign","name":"x[i]","id":"id_e7f36b21_13d2_45ef_bb44_d2d0d455f2c7","value":"x[i] *0.85"}],"id":"id_387702e9_5def_44e6_af89_f93bae46e6ad"},"condition":"x[i]>=10000","@type":"If","id":"id_0e5e5dbb_ea75_49fd_ae29_ecd74fb4362c"}],"id":"id_8841c31c_a9d2_4e09_a6b4_fb66492ca56a"}},{"newline":true,"@type":"Output","id":"id_91aaa77e_4216_4a6e_a1f9_7bcca3ea51a8","value":"\"los valores finales son\""},{"varName":"i","incr":"1","@type":"ForLoop","start":"0","end":"5","id":"id_8074f207_cab8_41e9_864c_938562d8b0c4","body":{"statements":[{"newline":true,"@type":"Output","id":"id_43e64c3d_5f07_4479_9a3e_55ef61ab2250","value":"x[i]"}],"id":"id_ac88565c_5526_4731_881f_80e0e8618dec"}},{"@type":"Return","id":"id_b0a3328d_cc0d_4d9e_8e2e_64381cdd5fad","maybeValue":null}],"parameters":[]},"id":"id_5faa37ad_a7e8_4b40_8edd_14671f1b2392","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":362}