by @Wendy Fork
{"functions":[],"name":"Company Sales","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_5e3bef19_585c_4f1a_9a7c_479360a7ff95"},{"@type":"Comment","id":"id_ba7d9cee_9de1_4f0a_9512_6c8e8bc9914f","text":"-----flowrun does not support the use of arrays ----"},{"@type":"Declare","tpe":"Real","name":"store1Mon","id":"id_7773e7aa_d40f_4630_a0cc_1cf5f643e258","initValue":null},{"@type":"Declare","tpe":"Real","name":"store1Tues","id":"id_3f8de6e2_7d5d_4f17_a11f_938b2f97e8fe","initValue":null},{"@type":"Declare","tpe":"Real","name":"store1Wed","id":"id_97981008_96a2_48a2_9908_e29d38e7c335","initValue":null},{"@type":"Declare","tpe":"Real","name":"store2Mon","id":"id_93a12dd2_7540_412f_98eb_200cec0d6bb8","initValue":null},{"@type":"Declare","tpe":"Real","name":"store2Tues","id":"id_901f8305_1e01_4578_9a99_86a5de8498d7","initValue":null},{"@type":"Declare","tpe":"Real","name":"store2Wed","id":"id_2da9007d_fd44_4acb_82d4_d9100f95e725","initValue":null},{"@type":"Declare","tpe":"Real","name":"storeSales","id":"id_7859f554_701d_4dd7_8c00_53d2bd45a093","initValue":null},{"@type":"Declare","tpe":"Real","name":"companySales","id":"id_1ab4d525_2280_4d6c_a396_94ffae370ca7","initValue":"0"},{"@type":"Declare","tpe":"Real","name":"storeCount","id":"id_85c19783_ad80_49e4_9347_2395be828c11","initValue":"1"},{"@type":"Declare","tpe":"Integer","name":"dayCount","id":"id_abf3fd2b_7005_4aa4_b1f7_560b0289cd60","initValue":null},{"condition":"storeCount <= 2","@type":"While","id":"id_7e0e5f42_402d_40e0_905a_8c18b28dac73","body":{"statements":[{"falseBlock":{"statements":[],"id":"id_b093ed7b_3678_430e_b271_6da48b20c7f6"},"trueBlock":{"statements":[{"@type":"Assign","name":"storeSales","id":"id_012aec5c_7425_437e_97a0_03035a2a84b9","value":"0"},{"@type":"Assign","name":"dayCount","id":"id_5f2ac9f2_1804_4812_afad_9b95220ccf25","value":"1"},{"condition":"dayCount <= 3","@type":"While","id":"id_f4c85297_54d7_4cf1_af21_32fa0ac1f8a0","body":{"statements":[{"falseBlock":{"statements":[],"id":"id_ff7c8250_41f2_4ddf_91bb_5735e1525e57"},"trueBlock":{"statements":[{"@type":"Input","name":"store1Mon","id":"id_efdf332d_a3a0_4278_b655_3b16619cddae","prompt":"Please enter Store 1's Monday Sales:"},{"@type":"Assign","name":"storeSales","id":"id_1d9c81e2_344b_4bbe_b16c_f38370baf61a","value":"storeSales + store1Mon"},{"@type":"Assign","name":"dayCount","id":"id_f19138b2_75b8_4b8b_a03d_45ef356aadb6","value":"dayCount + 1"}],"id":"id_427742ab_ae64_4a05_ad71_d528c2737fba"},"condition":"dayCount == 1","@type":"If","id":"id_7292f791_af95_46a2_bdd3_d831ea5a988f"},{"falseBlock":{"statements":[],"id":"id_b1af7ebe_8041_41b5_b636_27d64bf1c66a"},"trueBlock":{"statements":[{"@type":"Input","name":"store1Tues","id":"id_d8e81192_0958_4cd0_aa3f_5c976ac9cf6e","prompt":"Please enter Store 1's Tuesday Sales:"},{"@type":"Assign","name":"storeSales","id":"id_83c3dfb9_4b9d_4db5_a389_9d30494d2d5a","value":"storeSales + store1Tues"},{"@type":"Assign","name":"dayCount","id":"id_3bf092db_cc65_405d_99b2_be55a91fe807","value":"dayCount + 1"}],"id":"id_e9565170_14c6_43d5_afde_69f064f1de96"},"condition":"dayCount == 2","@type":"If","id":"id_cd24e132_c1fd_40f9_a175_2f6ab8d70c28"},{"falseBlock":{"statements":[],"id":"id_9ad0a7a2_5fc4_4919_9952_85081aa41715"},"trueBlock":{"statements":[{"@type":"Input","name":"store1Wed","id":"id_f3e28619_01e0_4ba9_8554_0230d607e627","prompt":"Please enter Store 1's Wednesday Sales:"},{"@type":"Assign","name":"storeSales","id":"id_425b30b4_819c_4fde_b029_1ae925cf32b6","value":"storeSales + store1Wed"},{"@type":"Assign","name":"dayCount","id":"id_39cc0277_ee3d_4001_b18e_71102c4c4e74","value":"dayCount + 1"}],"id":"id_f324fbf6_5402_4c99_b250_238634b5d56a"},"condition":"dayCount == 3","@type":"If","id":"id_7c8a87c3_bdb8_453b_a628_f8b19484a42e"},{"@type":"Assign","name":"companySales","id":"id_d897e599_642b_4947_8277_346211f5fac9","value":"companySales + storeSales"}],"id":"id_963fcaa3_02ef_4d31_aecf_befa0d6123e2"}},{"@type":"Assign","name":"storeCount","id":"id_5994229b_d0f9_4e20_bb0e_ef63807fdb96","value":"storeCount + 1"}],"id":"id_9c219cd8_e47f_4c3f_8e25_b1f8066945d4"},"condition":"storeCount == 1","@type":"If","id":"id_87e32cd7_6ae2_428f_a7fb_bf022ec7dd76"},{"falseBlock":{"statements":[],"id":"id_002ec3b6_c218_4af1_b4bc_2650d851f2f7"},"trueBlock":{"statements":[{"@type":"Assign","name":"storeSales","id":"id_ab4a12a6_314c_414c_b3eb_797d1cb8b16e","value":"0"},{"@type":"Assign","name":"dayCount","id":"id_1750eea9_1179_41ed_b895_ff6eecf7a5d4","value":"1"},{"condition":"dayCount <= 3","@type":"While","id":"id_8faf6f56_8bd1_400e_bd3a_dddfec2f25d2","body":{"statements":[{"falseBlock":{"statements":[],"id":"id_8d0eae0e_d3fe_4b49_8d04_3566efaea658"},"trueBlock":{"statements":[{"@type":"Input","name":"store2Mon","id":"id_02eab467_01e7_4ff6_a5a5_a0600bf2ae11","prompt":"Please enter Store 2's Monday Sales:"},{"@type":"Assign","name":"storeSales","id":"id_059b4b86_c40c_44ee_82cc_d73986f9e9e4","value":"storeSales + store2Mon"},{"@type":"Assign","name":"dayCount","id":"id_1c8b8e15_48f8_4cc6_953e_6a868f817fad","value":"dayCount + 1"}],"id":"id_b9225194_6e6e_4486_9a00_e689b91dd062"},"condition":"dayCount == 1","@type":"If","id":"id_12713bd8_886b_405a_8fcb_2971d416449a"},{"falseBlock":{"statements":[],"id":"id_563d7406_c0a6_43b4_acd6_d546cc766850"},"trueBlock":{"statements":[{"@type":"Input","name":"store2Tues","id":"id_c9b05b23_727c_4032_9d4f_2c23be31f029","prompt":"Please enter Store 2's Tuesday Sales:"},{"@type":"Assign","name":"storeSales","id":"id_2ff6ead1_d177_445f_9a93_55dda063b565","value":"storeSales + store2Tues"},{"@type":"Assign","name":"dayCount","id":"id_90e85c6c_be16_4b57_afba_ad105aa66e84","value":"dayCount + 1"}],"id":"id_e902a0da_cb1f_4b9e_8765_6a614e27169d"},"condition":"dayCount == 2","@type":"If","id":"id_a5042f80_45b8_433e_b230_0054e00ddbcb"},{"falseBlock":{"statements":[],"id":"id_77d87e19_ed25_475a_9011_a92c9e3871fd"},"trueBlock":{"statements":[{"@type":"Input","name":"store2Wed","id":"id_ef2598ac_1534_46e0_b310_f33bdcd30aba","prompt":"Please enter Store 2's Wednesday Sales:"},{"@type":"Assign","name":"storeSales","id":"id_6a46fc1d_04c1_484f_9cd3_b90349d2ba58","value":"storeSales + store2Wed"},{"@type":"Assign","name":"dayCount","id":"id_df012c08_3ff2_4be5_844c_432b10b19cde","value":"dayCount + 1"}],"id":"id_7abf913b_88f8_4a8c_965b_d7ccbd8b9075"},"condition":"dayCount == 3","@type":"If","id":"id_1b03134c_4300_4c03_b702_eb58380bd9b6"},{"@type":"Assign","name":"companySales","id":"id_138f0e0d_ddd3_4ec4_bf78_79062751b524","value":"companySales + storeSales"}],"id":"id_9c1c1e01_fad7_4ace_bc27_97b193e4010c"}},{"@type":"Assign","name":"storeCount","id":"id_503213c9_092a_45f4_99bc_828304925aed","value":"storeCount + 1"}],"id":"id_f85c4e58_c3e4_4475_8955_4834346dc3ef"},"condition":"storeCount == 2","@type":"If","id":"id_9b652ecf_674e_45c1_a8f2_e8b73a09b110"}],"id":"id_c277cf95_c70e_4382_9fab_3fbcb50aadc1"}},{"newline":true,"@type":"Output","id":"id_1febb3c4_ca4d_46f9_9195_268c81116209","value":"\"Your company sales for the week are: $\" + companySales"},{"@type":"Return","id":"id_582253fe_d52e_4a58_a4f7_6b8bb65f31fa","maybeValue":null}],"parameters":[]},"id":"id_c537b8f1_97c5_407f_9e67_f5c79e523038","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":1467}