by @Oscar Rowley Fork
{"functions":[],"name":"count down number input","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_a69a5125_0278_4fe8_8ab6_b403c702472d"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"number","lengthValue2":"5","id":"id_48239688_67f1_40a2_b5e7_90374a36c4e1","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"count","lengthValue2":"5","id":"id_be68db75_721d_4843_83c1_927f1b053660","initValue":"150"},{"newline":true,"@type":"Output","id":"id_6554bcf8_f788_43e0_8eca_24c898c8ca75","value":"\"I will count down to a numbr from 150\""},{"newline":true,"@type":"Output","id":"id_97f96c01_006a_4f70_b865_250ea7abe4e6","value":"\"choose a number\""},{"@type":"Input","name":"number","id":"id_4e6f96c7_4e0a_4dd5_95c7_87c19f71566d","prompt":null},{"newline":true,"@type":"Output","id":"id_d5ffa4b6_b7dc_44d7_957f_943e509a27b6","value":"\"I will count down from 150 to \" + number"},{"condition":"count>= number","@type":"While","id":"id_f68f2d8f_e0f2_43db_94a0_c1585b6abb23","body":{"statements":[{"newline":true,"@type":"Output","id":"id_5b29082b_7fda_4811_8427_6140e3542316","value":"count"},{"@type":"Assign","name":"count","id":"id_e1f95b35_bbb2_4e20_aee1_72e5b771636f","value":"count - 1"}],"id":"id_3e5afec2_d162_4473_b30a_1dd18db75344"}},{"newline":true,"@type":"Output","id":"id_a33e1282_77e6_400b_8c2e_482dfe453e53","value":"\"done\""},{"@type":"Return","id":"id_dafd4f66_3924_4ed4_a852_2885643a3a37","maybeValue":null}],"parameters":[]},"id":"id_6012be67_895e_4316_a70c_84edb73ef6c1","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":278}