by @Michele De Rosa Fork
{"functions":[],"name":"Potenza n-esima 2","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_07093801_079e_4132_87b7_9cfc13d80ae7"},{"@type":"Declare","tpe":"Integer","name":"x","id":"id_0e26d8a8_7bc1_4178_ac7a_2072f00105d3","initValue":null},{"@type":"Declare","tpe":"Integer","name":"potenza","id":"id_2881e617_00a7_4cad_b5d0_278d84985576","initValue":"1"},{"@type":"Declare","tpe":"Integer","name":"numero","id":"id_a03d4241_b875_4634_b1e9_8a823e1ce302","initValue":null},{"@type":"Input","name":"numero","id":"id_8a4d10dd_4bd9_4f99_ace1_7abbf40e37bb","prompt":"Inserisci un numero minore di 16"},{"condition":"numero > 16","@type":"While","id":"id_db020d75_15b5_4691_93d6_b74aa7080346","body":{"statements":[{"@type":"Input","name":"numero","id":"id_f6b8e3ee_318c_4d5b_8cf2_18c762c98d8c","prompt":"Inserisci un numero minore di 16"}],"id":"id_64584ccc_8428_492d_880a_e0c67e8766f5"}},{"varName":"x","incr":"1","@type":"ForLoop","start":"1","end":"numero","id":"id_5ebcf458_e3a0_457f_9fd7_dbfa92b7ca7e","body":{"statements":[{"@type":"Assign","name":"potenza","id":"id_5365580a_70da_42a6_a69c_8b4effb9b7fd","value":"potenza * 2"}],"id":"id_dc86d812_10b7_4016_a4c9_15cc8479d39b"}},{"newline":true,"@type":"Output","id":"id_c9a51aae_5492_4f94_a54e_e1c8653b9a55","value":"\"La potenza in base 2 di \" + numero + \" รจ \" + potenza"},{"@type":"Return","id":"id_c3cd0704_b260_4c92_8d28_4c1fb0ff372b","maybeValue":null}],"parameters":[]},"id":"id_7c4ba852_e590_4450_9882_953ccc67279c","config":{"showDebugVars":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":187}