{"functions":[],"name":"Store 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":"sunSales","id":"id_ecc3ef31_e319_4ebc_a63b_2d954f317f96","initValue":null},{"@type":"Declare","tpe":"Real","name":"monSales","id":"id_7773e7aa_d40f_4630_a0cc_1cf5f643e258","initValue":null},{"@type":"Declare","tpe":"Real","name":"tueSales","id":"id_62acb148_7af2_49a0_8d02_f984e5b41b6c","initValue":null},{"@type":"Declare","tpe":"Real","name":"wedSales","id":"id_1e92360d_3d47_4e80_b32c_848f169c528b","initValue":null},{"@type":"Declare","tpe":"Real","name":"thurSales","id":"id_95b8ce3a_e14d_4324_accc_0276cbeff508","initValue":null},{"@type":"Declare","tpe":"Real","name":"friSales","id":"id_20cf2731_54d2_4d35_af06_8c3cab8b110d","initValue":null},{"@type":"Declare","tpe":"Real","name":"satSales","id":"id_5d61e163_93fe_44a5_8ef8_0b339debe84f","initValue":null},{"@type":"Declare","tpe":"Real","name":"totalSales","id":"id_477c241d_072c_48d1_8344_7b22dffd3413","initValue":null},{"@type":"Declare","tpe":"Integer","name":"dayCount","id":"id_abf3fd2b_7005_4aa4_b1f7_560b0289cd60","initValue":null},{"@type":"Input","name":"sunSales","id":"id_0a936d81_d355_4c03_bfc6_db62b9b61fbf","prompt":"Please enter the total sales for Sunday"},{"@type":"Input","name":"monSales","id":"id_d19a7cb5_ec6c_4b06_a60e_91b1903f0c94","prompt":"Please enter the total sales for Monday"},{"@type":"Input","name":"tueSales","id":"id_7175cee3_02c1_423f_a0f7_078321250cd5","prompt":"Please enter the total sales for Tuesday"},{"@type":"Input","name":"wedSales","id":"id_8fb7023e_7ee0_42fc_bbd3_e40744b7b040","prompt":"Please enter the total sales for Wednesday"},{"@type":"Input","name":"thurSales","id":"id_079965a6_620c_4bba_8d72_5a8570704ee3","prompt":"Please enter the total sales for Thursday"},{"@type":"Input","name":"friSales","id":"id_941707e6_57d6_42f0_8487_48b1fb5bbe71","prompt":"Please enter the total sales for Friday"},{"@type":"Input","name":"satSales","id":"id_55034fe6_517a_40ca_88a0_d8cc58f5782d","prompt":"Please enter the total sales for Saturday"},{"@type":"Assign","name":"dayCount","id":"id_eb0eb92f_2113_41f6_9201_906efea550e4","value":"1"},{"@type":"Assign","name":"totalSales","id":"id_53ca2816_c7e1_4dca_bccc_384d5096f879","value":"0"},{"condition":"dayCount <= 7","@type":"While","id":"id_7e0e5f42_402d_40e0_905a_8c18b28dac73","body":{"statements":[{"falseBlock":{"statements":[],"id":"id_d6e9c20e_1402_49c4_ad1d_6f9a8cef0b0b"},"trueBlock":{"statements":[{"@type":"Assign","name":"totalSales","id":"id_a7b6b7fe_92d2_42ad_b060_7c38b01aa376","value":"totalSales + sunSales"},{"@type":"Assign","name":"dayCount","id":"id_5e884651_bf2a_4dfc_8051_51c424efbfda","value":"dayCount + 1"}],"id":"id_99da7b2a_9cb3_4dbb_86c8_5c26f684daf4"},"condition":"dayCount == 1","@type":"If","id":"id_9c45a9e8_d7d0_4406_805d_8c163568448c"},{"falseBlock":{"statements":[],"id":"id_2a32b5b3_c246_4370_a930_370db058c4fd"},"trueBlock":{"statements":[{"@type":"Assign","name":"totalSales","id":"id_29951efb_7ee0_4e6d_922f_45044a030288","value":"totalSales + monSales"},{"@type":"Assign","name":"dayCount","id":"id_726f290b_f4be_443c_bbbd_b5f0d10d2eae","value":"dayCount + 1"}],"id":"id_62915a8d_881a_4811_9e5e_0380ee744db1"},"condition":"dayCount == 2","@type":"If","id":"id_8133345b_bed7_4a69_b1bc_e3904a4daa87"},{"falseBlock":{"statements":[],"id":"id_4c4cd12e_b28c_4bcd_bf92_a5c1a96a14ec"},"trueBlock":{"statements":[{"@type":"Assign","name":"totalSales","id":"id_772b43e6_0e4c_4f26_8dae_512dd3008975","value":"totalSales + tueSales"},{"@type":"Assign","name":"dayCount","id":"id_e2287adc_186e_4379_bb82_674a238a2408","value":"dayCount + 1"}],"id":"id_3ef906ec_b79d_40ba_ba9b_ca71cd674879"},"condition":"dayCount == 3","@type":"If","id":"id_864a561c_8a3e_4341_aabc_a1a681e4bdaa"},{"falseBlock":{"statements":[],"id":"id_a616ef75_1aac_43ac_b12e_75377ca7917e"},"trueBlock":{"statements":[{"@type":"Assign","name":"totalSales","id":"id_52ea3bfa_2053_46b2_a85d_f1a96c65dc84","value":"totalSales + wedSales"},{"@type":"Assign","name":"dayCount","id":"id_e112b1bf_0bc5_412f_ae1a_dc6cc69cdac8","value":"dayCount + 1"}],"id":"id_d48fbddd_73b7_46bd_9ba2_48bc0a0a0edb"},"condition":"dayCount == 4","@type":"If","id":"id_ffd6e32a_60a4_4740_b24a_365c19b4e107"},{"falseBlock":{"statements":[],"id":"id_6099f967_2fa4_48a1_9dfc_8e6c79546e14"},"trueBlock":{"statements":[{"@type":"Assign","name":"totalSales","id":"id_de946804_3127_402d_ba0b_4d8c44755d7f","value":"totalSales + thurSales"},{"@type":"Assign","name":"dayCount","id":"id_88d70ab7_537d_4eaf_a4d5_6a09d74abe9d","value":"dayCount + 1"}],"id":"id_3dfbb838_f02c_4e80_8eb9_a27aa8c715cc"},"condition":"dayCount == 5","@type":"If","id":"id_707b7bce_e615_40f9_afb4_75c242396929"},{"falseBlock":{"statements":[],"id":"id_2c1493b7_e660_47a4_ad61_cbc7c221c686"},"trueBlock":{"statements":[{"@type":"Assign","name":"totalSales","id":"id_50fb0091_94e5_4e99_bc6d_b94024e798d5","value":"totalSales + friSales"},{"@type":"Assign","name":"dayCount","id":"id_6450a122_fdf9_4d91_986f_863fd0cf47dd","value":"dayCount + 1"}],"id":"id_3ea0ae2a_2129_45de_b30b_60d7a5d34ebd"},"condition":"dayCount == 6","@type":"If","id":"id_365254ef_e63f_4067_bc8d_814f414d6e43"},{"falseBlock":{"statements":[],"id":"id_13a2d427_6d22_4450_a8de_23baa175958a"},"trueBlock":{"statements":[{"@type":"Assign","name":"totalSales","id":"id_f123f85e_c010_4c62_8d56_bbf78ae274cd","value":"totalSales + satSales"},{"@type":"Assign","name":"dayCount","id":"id_2f34afde_0d8f_4904_8fe9_ffe19882ebe1","value":"dayCount + 1"}],"id":"id_556ab504_1516_459f_99b4_b62ba342a662"},"condition":"dayCount == 7","@type":"If","id":"id_e70b118a_0dd6_4773_bcd1_969a81b9afa3"}],"id":"id_c277cf95_c70e_4382_9fab_3fbcb50aadc1"}},{"newline":true,"@type":"Output","id":"id_1febb3c4_ca4d_46f9_9195_268c81116209","value":"\"Your total sales for the week are: $\" + totalSales"},{"@type":"Return","id":"id_582253fe_d52e_4a58_a4f7_6b8bb65f31fa","maybeValue":null}],"parameters":[]},"id":"id_d2e2baf7_d4ab_4324_ab83_333fb037c444","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.2","revision":831}