by @Miguel P. Fork
{"functions":[],"name":"DigitProcessor","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_6f91a866_d40d_4b19_bca6_41c1b49b1661"},{"@type":"Comment","id":"id_874ee113_9279_4a7b_8470_775e4f174154","text":"declare a integer variable called \"usrDigit\" \"digitSum\" and \"usrResponse\""},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"usrDigit","lengthValue2":"5","id":"id_b6845b9e_f3c3_43d3_a7a9_e39efe9c0f56","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"digitSum","lengthValue2":"5","id":"id_e56b6ddd_a133_4566_ae04_21d615df8d27","initValue":"usrDigit"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"usrResonse","lengthValue2":"5","id":"id_d1ee1fec_793d_448e_825a_53ec3d983d78","initValue":null},{"@type":"Comment","id":"id_f19a063c_025c_44ca_8b0b_3e2f6e20c86a","text":"\"Propmt the user to enter a 3 digit number"},{"newline":true,"@type":"Output","id":"id_28002000_2f5a_44d2_ac32_54a9f1c2e8f1","value":"\"Please enter a 3 digit number\""},{"@type":"Comment","id":"id_2640c97b_2d03_4177_aeb1_a69f51cedf43","text":"Assigns the users digit input to usrDigit"},{"@type":"Input","name":"usrD","id":"id_c4666220_98d1_45a4_8e32_bf8fbcf040ec","prompt":null},{"falseBlock":{"statements":[],"id":"id_a2840a2c_6cca_48fe_aa94_f4d93952336f"},"trueBlock":{"statements":[{"@type":"Comment","id":"id_e5fcd15f_bc94_4af5_9f40_8376a423ee32","text":"Tells the user to input a correct digit"},{"newline":true,"@type":"Output","id":"id_bd49ea7b_20c8_4eba_9da7_25b6310b2325","value":"\"Please enter a 3 digit number\""},{"@type":"Comment","id":"id_ce0bdc2d_3bc2_4750_b3b4_52b9e68a73d9","text":"Makes the user re-enter their digit"},{"@type":"Input","name":"usrDigit","id":"id_d10c4fd6_4187_4487_95df_1ea90c4b689a","prompt":null}],"id":"id_737da1cd_c63a_4584_95c4_9d1c80665bb7"},"condition":"if usrDigit<100 or >999","@type":"If","id":"id_7ae1539c_9149_494c_b23b_a93f66a80fc0"},{"@type":"Comment","id":"id_cfa646ce_520f_48db_9ff1_9788b84d2160","text":"Displays the sum of the inputed digits"},{"newline":true,"@type":"Output","id":"id_617385a8_4d26_489d_a9ff_9581d43f8c1f","value":"\"The sum of your digits is \""},{"@type":"Comment","id":"id_1ba9adac_b3e9_47c4_bcd8_c2ce7cc64bbc","text":"Prompts the user if they want to quit"},{"newline":true,"@type":"Output","id":"id_239368e4_52e8_442a_bdaf_c41f1074b4a0","value":"\"If you want to continue, type \"Yes\", if you want to quit, type \"Quit\"\""},{"@type":"Comment","id":"id_8d83e14b_86b6_4af6_86b2_ea7e988f83bc","text":"If statement for if the user wants to quit or enter another number"},{"falseBlock":{"statements":[{"@type":"Input","name":"","id":"id_3e136c5a_d397_4fe3_b191_ef2992e7e135","prompt":null}],"id":"id_7edea771_9311_4333_9955_9b343679d85c"},"trueBlock":{"statements":[],"id":"id_da4f4db3_9c4b_4d3d_9f86_12e0343007ba"},"condition":"if usrResponse==quit","@type":"If","id":"id_fb4c3fd1_4ce9_4a9c_ac1d_a4044bf58edd"},{"@type":"Return","id":"id_2f5c456d_28a6_48b2_8cbe_50b1f1baf2f0","maybeValue":null}],"parameters":[]},"id":"id_c43ad978_00d4_4c99_8786_05d4aa656cc8","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":false,"lang":"java","showGenCode":false},"version":"0.3","revision":941}