by @Michele Bolognesi Fork
{"functions":[],"name":"Bolognesi calcolo resistenze//","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_6b41bb62_870a_4bc7_9809_9010ceedc9b0"},{"@type":"Comment","id":"id_a2346bc5_dd8c_4181_988d_0a28d924710a","text":"MESSAGGIO DI BENVENUTO"},{"newline":true,"@type":"Output","id":"id_c42f6656_acb8_4bcf_8b6a_a0a2f17627bd","value":"\"calcolo la resistenza di un numero qualunque di resistori posti in parallelo\""},{"@type":"Comment","id":"id_66a6f165_b134_4a19_8b09_6d514bde5f3a","text":"DICHIARAZIONE DELLE VARIABILI"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"scelta","lengthValue2":"5","id":"id_94258845_3d99_4571_b373_10dc398fcbb2","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"R","lengthValue2":"5","id":"id_d6008e24_a60d_472d_9e6d_4e29ca90c9be","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"accumulatore","lengthValue2":"5","id":"id_3488bdc7_0ac0_4465_bcb5_e8abf61a5e72","initValue":"0"},{"condition":"scelta==1","@type":"DoWhile","id":"id_3d736dae_d610_4c5a_a539_be66dee5fc9b","body":{"statements":[{"newline":true,"@type":"Output","id":"id_8631db36_9974_408e_8f16_9dfb8615cf89","value":"\"inserisci il valore della resistenza (R) in Ohm\""},{"@type":"Input","name":"R","id":"id_4e3f2257_86f3_4fcc_841b_a2b3c434b84d","prompt":null},{"@type":"Comment","id":"id_dc019611_dbec_4602_93ce_0ade10dfd49f","text":"ELABORAZIONE"},{"@type":"Assign","name":"accumulatore","id":"id_97b20f0f_d826_4c06_9491_8d3896810db7","value":"accumulatore+1/R"},{"newline":true,"@type":"Output","id":"id_5f2b6198_08da_4249_91e2_2be85e551eb1","value":"\"la resistenza equivalente in Ohm vale:\""},{"newline":true,"@type":"Output","id":"id_7e9b33b5_b7c9_4c7e_952c_43efa6aa0e59","value":"\"1/accumulatore\""},{"newline":true,"@type":"Output","id":"id_a7958306_a39f_47a6_9e4c_d45478ab9dbc","value":"\"hai finito ? 0=sì.1=no\""},{"@type":"Input","name":"scelta","id":"id_11ff94e7_3b9c_47ac_9cd2_c5d003a7cdbd","prompt":null}],"id":"id_6e733a69_e215_4cd4_a863_c7ff2c7aaa73"}},{"newline":true,"@type":"Output","id":"id_119e80db_4d61_4b84_aa71_445043051d9c","value":"\"alla fine la resistenza equivalente in Ohm è:\""},{"newline":true,"@type":"Output","id":"id_e4dbfeef_b06c_46e8_b019_694190f7a274","value":"1/accumulatore"},{"@type":"Return","id":"id_86059bf5_1016_4226_babf_7ee9342adf38","maybeValue":null}],"parameters":[]},"id":"id_00c9c50a_94c4_45dc_bd4b_0cd15dd42588","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"c","showGenCode":true},"version":"0.3","revision":761}