{"functions":[],"name":"Decimale-binario","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_3102f17e_8969_463a_88ce_465e9bfa6d13"},{"@type":"Declare","tpe":"Integer","name":"numeroDecimale","id":"id_71c02324_0809_4463_8b1f_d22625d19f6d","initValue":null},{"@type":"Declare","tpe":"Integer","name":"quoziente","id":"id_7012b726_9f73_4592_976a_96c52099e0e5","initValue":null},{"@type":"Declare","tpe":"Integer","name":"resto","id":"id_24a5d8c3_8484_4fa4_8cc2_9f464af4eabb","initValue":null},{"@type":"Input","name":"numeroDecimale","id":"id_4cccfc6f_999b_4c3e_9d88_e47ac268b3e1","prompt":"\"Inserisci un numero\""},{"@type":"Assign","name":"quoziente","id":"id_c621eb90_8a33_4fd4_8a66_6ae772270048","value":"numeroDecimale"},{"condition":"quoziente != 0","@type":"While","id":"id_c741e24e_774c_464d_9b55_aaa9825dba8c","body":{"statements":[{"@type":"Assign","name":"quoziente","id":"id_755dc829_45a9_448c_92ad_8480bb8ad00c","value":"quoziente/2"},{"@type":"Assign","name":"resto","id":"id_a6466a0f_2fe7_4db8_ad03_6e6ab18e845a","value":"numeroDecimale - quoziente*2"},{"newline":true,"@type":"Output","id":"id_c863c232_059d_4a60_a8a8_77988090504c","value":"resto"},{"@type":"Assign","name":"numeroDecimale","id":"id_b668f60c_f5d9_45f0_af0a_c9e447c808b7","value":"quoziente"}],"id":"id_772e10e0_74e1_40d6_9ea8_f12a63e5cc76"}},{"@type":"Return","id":"id_9c3ca4bf_644a_4dff_829c_f5882511ecf4","maybeValue":null}],"parameters":[]},"id":"id_344efcc9_b181_4a7d_a9ec_fbdbce7765cf","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":false},"version":"0.2","revision":297}