by @MARLON ORTIZ Fork
{"functions":[],"name":"Cálculo de Interés Compuesto","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5be23277_0c96_4466_a8a6_c67cfecf6f3c"},{"@type":"Declare","tpe":"Real","name":"capitalInicial","id":"id_7c2a519a_db8e_4dc6_bab2_da7d0de1a71d","initValue":null},{"@type":"Declare","tpe":"Real","name":"tasaInteres","id":"id_90792434_2451_44af_92b8_aa0c6be218f1","initValue":null},{"@type":"Declare","tpe":"Real","name":"ano","id":"id_7714b9e8_a9a9_4a9d_846a_3b8c46726ea5","initValue":null},{"@type":"Declare","tpe":"Real","name":"montofinal","id":"id_39bd7995_577c_4f5e_8dab_9d4716d2b93b","initValue":null},{"@type":"Input","name":"capitalInicial","id":"id_b93ae87f_e1d6_4a64_a08c_bae5ab26a3b0","prompt":"Introduce el capital inicial:"},{"@type":"Input","name":"tasaInteres","id":"id_8041e92f_e4b8_4f7a_a915_5ec10af21ef6","prompt":"Introduce la tasa de interés anual (en decimal, ej. 0.05 para 5%): "},{"@type":"Input","name":"ano","id":"id_0ea6f8fc_763d_491a_ba5d_44a16107033d","prompt":"Introduce el número de años de la inversión:"},{"@type":"Assign","name":"montofinal","id":"id_dc186834_8428_4623_be38_cf9e473522f5","value":"capitalInicial*(1+tasaInteres)*ano"},{"newline":true,"@type":"Output","id":"id_5e4ac248_6f93_4ca2_94c2_ae47341e9b97","value":"\"El monto final de la inversión después de \"+ano+\" años es: \"+montofinal2+\"\""},{"@type":"Return","id":"id_beb840c4_362a_49ea_bdc9_500633500e62","maybeValue":null}],"parameters":[]},"id":"id_26743be4_6e41_448e_bc29_160c583c0147","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":164}