{"functions":[],"name":"Binario - decimale","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_ae6863c1_1445_4455_a053_94426f6df08b"},{"@type":"Declare","tpe":"Integer","name":"bit","id":"id_59a02e8b_9c1f_4fb8_97b9_5959d5e00b7d","initValue":null},{"@type":"Declare","tpe":"Integer","name":"numerobit","id":"id_216bbbca_8dd1_4a31_a6f8_92b63af82742","initValue":null},{"@type":"Declare","tpe":"Integer","name":"decimale","id":"id_a15245ea_c8fd_4539_96e3_7ce25ee7c3b3","initValue":"0"},{"condition":"numerobit <= 0","@type":"DoWhile","id":"id_6874192e_0793_412f_8d12_458dfd4145bd","body":{"statements":[{"@type":"Input","name":"numerobit","id":"id_031c53e2_d25f_465f_93a8_896ccd62c6ce","prompt":"Inserisci il numero di bit"}],"id":"id_5c2d8648_df3c_4f81_8b62_427bbe28be6f"}},{"varName":"contatore","incr":"1","@type":"ForLoop","start":"0","end":"numerobit - 1","id":"id_fd5aaf02_e304_4fa0_898e_0aaee8ceeede","body":{"statements":[{"newline":true,"@type":"Output","id":"id_84a64857_69e7_4661_a3a5_b20444712470","value":"\"bit \" + contatore"},{"@type":"Input","name":"bit","id":"id_823cf0ec_4d96_4ed3_b88b_dae0261d80a6","prompt":"\"Inserisci bit \""},{"@type":"Assign","name":"decimale","id":"id_609460da_3caa_4164_897a_31ea8e6c8545","value":"decimale + bit * pow(2,contatore)"}],"id":"id_a2f58a21_88a0_4734_9d67_2af89d8f55a9"}},{"newline":true,"@type":"Output","id":"id_f796384a_ed26_4e3a_9c5b_41640464edfc","value":"\"Il numero in base 10 รจ \" + decimale"},{"@type":"Return","id":"id_24561840_1689_41d2_944e_d99a96e97bb5","maybeValue":null}],"parameters":[]},"id":"id_b49137bf_c655_4396_8e98_a145c32abd1b","config":{"showDebugVars":true,"showFunctions":false,"lang":"java","showGenCode":true},"version":"0.2","revision":327}