by @Jose Fork
{"functions":[],"name":"Store Item Tax - Assignment","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_c17f6d3e_1f7a_4a85_8969_406798dd9cbf"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"itemOne","lengthValue2":"5","id":"id_b9074589_b521_48d4_a8b4_fe92c8439362","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"itemTwo","lengthValue2":"5","id":"id_ac187e21_211e_4963_ba7a_64a2a8784905","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"itemThree","lengthValue2":"5","id":"id_de443dd1_baff_43f6_a764_105cb4a375ea","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"itemFour","lengthValue2":"5","id":"id_884ee1a5_fc11_488e_af13_782ac30fb3f6","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"itemFive","lengthValue2":"5","id":"id_be4be1a9_c554_40b2_a779_cb931415697a","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"taxOne","lengthValue2":"5","id":"id_097afa11_0e33_435f_bea4_562a01154cf6","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"taxTwo","lengthValue2":"5","id":"id_b90034c7_91e2_4d51_a72f_6ff714935f7f","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"taxThree","lengthValue2":"5","id":"id_348cc73c_7c95_4869_a924_42c5fae8ad08","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"taxFour","lengthValue2":"5","id":"id_f445f545_df9b_439b_9b1b_744ff9c2281d","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Real","name":"taxFive","lengthValue2":"5","id":"id_34dc48dc_798e_409d_8ded_d2993dee950e","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"17","tpe":"Real","name":"sumTax","lengthValue2":"5","id":"id_800d8436_b6fc_4efd_99f6_65da80f51ba1","initValue":null},{"@type":"Comment","id":"id_8684d523_f01e_423d_90f7_0f25c998daf9","text":"Declared each item, followed by its tax addition"},{"newline":true,"@type":"Output","id":"id_075ca3b5_ebed_413b_b02f_1a2adf4c10aa","value":"\"ALL STORE SALES INCLUDE A 7% SALES TAX!\""},{"@type":"Input","name":"itemOne","id":"id_975439ea_b5da_4a2b_bf8e_59d846ab736d","prompt":null},{"newline":false,"@type":"Output","id":"id_7687a48f_780f_4b16_956c_bfff4b620146","value":"\"Item 1 sale: $\""},{"newline":true,"@type":"Output","id":"id_11ec8821_877f_49c6_a51b_7255a0efde10","value":"itemOne"},{"@type":"Assign","name":"taxOne","id":"id_29b1448a_4ab9_4e73_845e_da824ba7fce8","value":"(itemOne*0.07)+itemOne"},{"@type":"Comment","id":"id_e12cbbb4_21a6_4c23_a1b5_4aed07d2e47d","text":"Proper mathematics for applying a 7% sales tax to any inputted variable"},{"newline":false,"@type":"Output","id":"id_2288180a_82a5_4cb3_bd4d_ff9f0027a731","value":"\"Sales tax included: $\""},{"newline":true,"@type":"Output","id":"id_ed2fdc1d_a865_4f41_918d_ec8cc66fa042","value":"taxOne"},{"@type":"Comment","id":"id_39f2704d_ad91_41b9_b1ae_7591516138e3","text":"Created a pattern for all inputted items, following all the necessary steps"},{"@type":"Input","name":"itemTwo","id":"id_967c1ea5_ae74_4a7e_bc42_8a2435a7c9a4","prompt":null},{"newline":false,"@type":"Output","id":"id_b5c34fda_d518_48e6_832e_4b67a934c45f","value":"\"Item 2 sale: $\""},{"newline":true,"@type":"Output","id":"id_264fcabe_94db_458e_82ed_108f7426e1b4","value":"itemTwo"},{"@type":"Assign","name":"taxTwo","id":"id_73fb74fd_2322_4a63_8236_892cf5f6f3b4","value":"(itemTwo*0.07)+itemTwo"},{"newline":false,"@type":"Output","id":"id_b8fce4db_9895_4b19_9a66_bde3b04181a6","value":"\"Sales tax included: $\""},{"newline":true,"@type":"Output","id":"id_0e5b66b9_9d3a_4f45_928e_8bda54773aea","value":"taxTwo"},{"@type":"Input","name":"itemThree","id":"id_c54dfdb9_2e65_4c8e_b2c4_3985240cbbd4","prompt":null},{"newline":false,"@type":"Output","id":"id_d094b45f_86e4_438b_afbd_b72a85884396","value":"\"Item 3 sale: $\""},{"newline":true,"@type":"Output","id":"id_4127e7ea_fb6e_46fa_894c_e64d1e8be3e7","value":"itemThree"},{"@type":"Assign","name":"taxThree","id":"id_1ff10b06_7f2d_4575_8989_f75dc884e7cd","value":"(itemThree*0.07)+itemThree"},{"newline":false,"@type":"Output","id":"id_97e5fc3f_aafd_4981_b33c_72e2a1277993","value":"\"Sales tax included: $\""},{"newline":true,"@type":"Output","id":"id_7481afcb_ff87_4baa_a944_a34794bfc7b4","value":"taxThree"},{"@type":"Input","name":"itemFour","id":"id_9b9f19a3_6682_49ed_8a06_f25d05782836","prompt":null},{"newline":false,"@type":"Output","id":"id_9d65dd91_5266_4e22_8f3b_5b3928cdf73a","value":"\"Item 4 sale: $\""},{"newline":true,"@type":"Output","id":"id_37ab718d_8673_4f48_9903_9c9ee6f7d452","value":"itemFour"},{"@type":"Assign","name":"taxFour","id":"id_d581f14e_6b08_4f9d_931f_7055f656ae68","value":"(itemFour*0.07)+itemFour"},{"newline":false,"@type":"Output","id":"id_48893c79_3b06_4335_94ef_581f2c4388f0","value":"\"Sales tax included: $\""},{"newline":true,"@type":"Output","id":"id_5d884597_18bd_492a_9398_67dfda1a1c52","value":"taxFour"},{"@type":"Input","name":"itemFive","id":"id_54e082ff_2ae4_4ad7_898f_bb58125d7099","prompt":null},{"newline":false,"@type":"Output","id":"id_063f64b8_c73a_4632_adbb_8922a416ae6d","value":"\"Item 5 sale: $\""},{"newline":true,"@type":"Output","id":"id_1d5cd1ac_4fdf_4f24_9496_b1ae677b241f","value":"itemFive"},{"@type":"Assign","name":"taxFive","id":"id_c0666786_5ada_44f1_9c13_fd383f948715","value":"(itemFive*0.07)+itemFive"},{"newline":false,"@type":"Output","id":"id_ddddd4ea_7135_4cc7_947c_a87eb8ae0468","value":"\"Sales tax included: $\""},{"newline":true,"@type":"Output","id":"id_a338a426_ce5f_439d_b113_d3caff836db0","value":"taxFive"},{"@type":"Assign","name":"sumTax","id":"id_2e87f5f8_b952_4f85_8ee9_3fe5a3d929ea","value":"taxOne+taxTwo+taxThree+taxFour+taxFive"},{"@type":"Comment","id":"id_5e2ca99c_7a73_4b72_897b_a2224ae292b9","text":"Final addition of all the taxed prices, although the sum produces a large variable when all five taxed prices are summed, not sure why?"},{"newline":false,"@type":"Output","id":"id_c3eb876d_3e2c_4000_aaa6_6aee92500182","value":"\"Total Sales Cost (Tax): $\""},{"newline":true,"@type":"Output","id":"id_0beae284_7b79_4a72_8058_644b508f53a3","value":"sumTax"},{"@type":"Return","id":"id_02b3cb82_9f0f_41a2_82e9_99451f64ca35","maybeValue":null}],"parameters":[]},"id":"id_46761f04_023c_46cc_afb7_fb606710ea77","config":{"showDebugVars":true,"useInputPrompt":false,"echoEnteredValue":false,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.3","revision":2183}