by @黃佩恩 Fork
{"functions":[],"name":"mission2","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_abf5f1a5_4da9_481b_aea4_452b68da1182"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"amount","lengthValue2":"5","id":"id_3fa982fd_9af6_4c35_b6e6_a5785b6d7549","initValue":"0"},{"@type":"Input","name":"amount","id":"id_6fdd5ef8_a21e_4f39_90e7_7d346976bea3","prompt":null},{"falseBlock":{"statements":[],"id":"id_f4cd8624_475c_4014_8b54_83193fbfca48"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_7ef87886_b0b4_4b2c_9abc_473a46471c70","value":"\"Get $50 Discount\""}],"id":"id_051931ea_e2c0_4a01_8f7f_9456b49be990"},"condition":"amount >= 500","@type":"If","id":"id_2eb889cb_2d03_4fcc_bc65_24d3b3be50e6"},{"@type":"Return","id":"id_00acc1eb_e1d7_43f9_a9be_78c2e3360b07","maybeValue":null}],"parameters":[]},"id":"id_993bc229_0448_4a8f_80d8_51e9c420e8f7","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":49}