Settings

            
{"id":"id_11adbc58_e350_426d_a67e_617789e0b2ed","name":"Guess a number","config":{"lang":"kotlin","showFunctions":true,"showGenCode":true},"main":{"rawId":"main","name":"main","parameters":[],"tpe":"Void","statements":[{"id":"id_4df40fad_7473_4635_84a6_b2310dfd4164","@type":"Begin"},{"id":"id_6dcf47a7_ea58_4c82_9176_14349c9dc824","name":"x","tpe":"Integer","initValue":"randomInt(9)+1","@type":"Declare"},{"id":"id_c7432a20_53e1_4d13_bb6a_3b2a3322aa9a","name":"guess","tpe":"Integer","initValue":null,"@type":"Declare"},{"id":"id_a29d922e_2a5c_4253_9caf_0d7ee5cc31b5","condition":"guess != x","body":{"id":"id_2488b098_7267_4055_8e69_7a50b62562c3","statements":[{"id":"id_71414a69_5b7f_49f0_8454_00e72395b4d0","name":"guess","prompt":"Guess a number [1-10]: ","@type":"Input"}]},"@type":"DoWhile"},{"id":"id_97f43497_dc97_4376_aa4f_dc2384dabee2","value":"\"Bravo!\"","newline":true,"@type":"Output"},{"id":"id_2d9d05a2_5d09_48cd_b733_8cff9c0060e9","maybeValue":null,"@type":"Return"}]},"functions":[],"version":"0.1"}
CodeExploreLearnLog In