by @Alan Attar Fork
{"functions":[],"name":"Input 2 and subtract greatest.","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_74398e8f_5fa8_499f_9d37_737d0eb9b58c"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num1","lengthValue2":"5","id":"id_04d7c712_07f1_4bd5_88e0_580d54063bf3","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"num2","lengthValue2":"5","id":"id_8ea5cc6f_c0c9_4984_bf12_ef91f87203c8","initValue":null},{"newline":true,"@type":"Output","id":"id_b0a981de_6a9e_4a4f_812c_d036f75e4057","value":"\"Enter a number\""},{"@type":"Input","name":"num1","id":"id_2be94faf_62bc_4f8a_8cc6_6d4ef12d7ef1","prompt":null},{"newline":true,"@type":"Output","id":"id_efaa6360_89bf_4a81_8673_45301559db7e","value":"\"Enter a 2nd number which is not the same as the first\""},{"@type":"Input","name":"num2","id":"id_afd84082_779c_42de_b99b_eb7c1d72571a","prompt":null},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_3bd9eb0e_0ceb_4b4b_a889_e48abacb15e2","value":"\"The greatest number minus the smallest is \" +(num2-num1)"}],"id":"id_f22979ca_edfe_42e2_bc87_5b4607a7673e"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_46205d2c_024c_4b8b_b11f_95b282a4dc9e","value":"\"The greatest number minus the smallest is \" +(num1-num2)"}],"id":"id_92000f2e_7a42_4ab0_9e06_bc7661cc9cb1"},"condition":"num1>num2","@type":"If","id":"id_ccc788c7_f391_4c16_97ec_351ff5e810a5"},{"@type":"Return","id":"id_6bdab395_291e_434f_9529_6daf2931a43d","maybeValue":null}],"parameters":[]},"id":"id_19a7a3af_2195_4bce_9b50_68b847ce2c48","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":677}