{"functions":[],"name":"Ejemplo 3 sesión 1","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_f82e9c52_0e49_4694_a46d_dfe4b4167a74"},{"@type":"Declare","tpe":"Real","name":"capitalinicial","id":"id_f9d7ec8c_3fd2_45c1_a4fe_61ad7683c604","initValue":null},{"@type":"Declare","tpe":"Real","name":"tasainteres","id":"id_73775ee4_e528_41dc_83a3_d98ed3e8be42","initValue":null},{"newline":true,"@type":"Output","id":"id_a5e05ae4_adec_4da0_9736_d7228b3a084e","value":"\"ingrese el capital inicial:\""},{"@type":"Input","name":"capitalinicial","id":"id_6a293494_d77d_4100_bed5_146ac9be9a06","prompt":null},{"newline":true,"@type":"Output","id":"id_575e185d_e37b_479d_ac4d_80c6748bd65e","value":"\"Ingrese la tasa de interes anual(en %):\""},{"@type":"Input","name":"tasainteres","id":"id_3da86711_56c8_409d_88b7_1864056ce603","prompt":null},{"@type":"Declare","tpe":"Real","name":"tsinteres","id":"id_17db5817_10dd_45b5_9b7d_d98586b167dd","initValue":"tasainteres/100"},{"@type":"Declare","tpe":"Real","name":"anos","id":"id_beff63ad_8a59_4137_bd6d_e3d8d2177e28","initValue":null},{"newline":true,"@type":"Output","id":"id_66ae2f8e_7cf9_44be_81ad_98de20aa7bb1","value":"\"Ingese el número de años\""},{"@type":"Input","name":"anos","id":"id_bb0b03e6_5eb9_4a1f_9c7f_4e53c3e7776d","prompt":null},{"@type":"Declare","tpe":"Real","name":"monto0","id":"id_975d1d56_cc18_4d11_9561_b46339267bc8","initValue":null},{"@type":"Assign","name":"monto0","id":"id_0fc9536d_d20b_46c6_a5ca_89b1541887bb","value":"(1 + tsinteres)"},{"@type":"Declare","tpe":"Real","name":"monto1","id":"id_2f92c126_0c0b_4aca_ac23_581a2594506b","initValue":"pow(monto0,anos)"},{"newline":true,"@type":"Output","id":"id_8d162c2f_bcaf_44fd_953b_a2f99ac88fc2","value":"monto1"},{"@type":"Declare","tpe":"Real","name":"montofinal","id":"id_27c45238_3f74_494a_9bba_51eea22bab38","initValue":null},{"@type":"Assign","name":"montofinal","id":"id_83e87a08_6ac0_4b60_aec1_6eace7dca191","value":"capitalinicial * monto1"},{"newline":true,"@type":"Output","id":"id_4ddcc3cc_7eea_46ac_8a2a_5e2732c550fb","value":"\"El monto final después del número de años es:\""},{"newline":true,"@type":"Output","id":"id_2a5f01fc_5146_4d32_8a50_6edeccc07273","value":"montofinal"},{"@type":"Return","id":"id_d0af6d13_9681_4f7c_b862_ff7b62ff6b82","maybeValue":null}],"parameters":[]},"id":"id_8cee78d8_3b55_488d_84cd_365d64b7ba5e","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":691}