by @Joshua Shackoor Fork
{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_8c3be52f_a713_417b_a584_91ee82fc3f08"},{"@type":"Declare","tpe":"Real","name":"departmentArray[3,4]","id":"id_9170adaf_0943_4f87_90b7_5cf549fe5dcb","initValue":null},{"@type":"Declare","tpe":"Real","name":"totalSales","id":"id_562e90ec_e8cc_4b12_a8fc_99e8f079402d","initValue":null},{"@type":"Declare","tpe":"Integer","name":"depX","id":"id_6ab33496_d09e_423f_9f0f_a52a9452d463","initValue":null},{"@type":"Declare","tpe":"Integer","name":"depY","id":"id_7185dea6_a518_4ac8_a5b9_bc523b49b0b6","initValue":null},{"@type":"Declare","tpe":"Integer","name":"depZ","id":"id_327498c8_5a3d_4d37_bbae_aa3f695564be","initValue":null},{"@type":"Declare","tpe":"Integer","name":"Q1","id":"id_895f09cb_461a_4d4a_bb6f_c28879246fd3","initValue":null},{"@type":"Declare","tpe":"Integer","name":"Q2","id":"id_ecac6914_e696_4536_97a2_8eb741835ff2","initValue":null},{"@type":"Declare","tpe":"Integer","name":"Q3","id":"id_414f5356_0a8b_4e7d_bfc9_f4220bc80c25","initValue":null},{"@type":"Declare","tpe":"Integer","name":"Q4","id":"id_54c2e858_5811_49ae_81fd_1f6d4e073581","initValue":null},{"@type":"Declare","tpe":"Integer","name":"totalSales","id":"id_55243a47_2f7b_4e42_9c4a_2b43487abb00","initValue":null},{"varName":"i","incr":"4","@type":"ForLoop","start":"0","end":"3","id":"id_e13d24b4_3458_4ca8_ace0_36bfebb8ba00","body":{"statements":[{"@type":"Comment","id":"id_e7464869_38f5_4c8d_b9b9_411e7642aab2","text":"depX"},{"@type":"Input","name":"Q1","id":"id_531e1776_b101_410c_9005_c247c2117776","prompt":null},{"@type":"Input","name":"Q2","id":"id_ed02b551_4c5e_43b9_a012_e0d70a830986","prompt":null},{"@type":"Input","name":"Q3","id":"id_7158398e_fa2a_4f1d_9f77_c296ec9a293e","prompt":null},{"@type":"Input","name":"Q4","id":"id_ee7beaf2_ab41_4cd2_a1e0_7bb73901c719","prompt":null},{"newline":true,"@type":"Output","id":"id_88769934_50d8_41cb_bdd1_419f147b243b","value":"toalSales+=Q1+Q2+Q3+Q4"},{"varName":"i","incr":"1","@type":"ForLoop","start":"0","end":"10","id":"id_fd4c1d85_d63e_4395_86e4_5fea8141d358","body":{"statements":[{"@type":"Comment","id":"id_c38e8b8b_e126_4b94_a6f1_58eb55e489c3","text":"depY"},{"@type":"Input","name":"Q1","id":"id_f2ba7478_27c3_4789_91bf_dc61b183a268","prompt":null},{"@type":"Input","name":"Q2","id":"id_d11603a8_8b25_45ae_92a9_5914c9f7582d","prompt":null},{"@type":"Input","name":"Q3","id":"id_2d2ae31b_6361_4954_9f67_45a6fca633a6","prompt":null},{"@type":"Input","name":"Q4","id":"id_1f359f3d_c22b_4915_bcb3_35b26a620f82","prompt":null},{"newline":true,"@type":"Output","id":"id_942e693a_5039_4a70_b4a8_c632e18ceb7e","value":"totalSales+= Q1+Q2+Q3+Q4"}],"id":"id_618059ec_ffb1_48ec_bab4_0c6fc3bce599"}},{"varName":"i","incr":"3","@type":"ForLoop","start":"0","end":"1","id":"id_0a069ef8_11e5_4c08_b0ec_f07e05570798","body":{"statements":[{"@type":"Comment","id":"id_23934ea7_ab18_4beb_ba54_be0a26b55e5b","text":"depz"},{"@type":"Input","name":"Q1","id":"id_067946f0_5f5a_48d0_9b5e_1255d72f4c19","prompt":null},{"@type":"Input","name":"Q2","id":"id_81fc23f8_3df4_40ee_8968_a29459c15d14","prompt":null},{"@type":"Input","name":"Q3","id":"id_0edfbf0f_56e9_415d_88f3_898882360b1e","prompt":null},{"@type":"Input","name":"Q4","id":"id_13b6bc16_01f0_4fe2_beea_26e687512603","prompt":null},{"newline":true,"@type":"Output","id":"id_48b585fe_e99d_4df7_b766_78e8ed2774bc","value":"totalSales+= Q1+Q2+Q3+Q4"}],"id":"id_7c126737_666b_49a6_95f0_f47c9a4c561c"}}],"id":"id_d1573895_4ba1_49f2_b7b0_4853e08cac3f"}},{"newline":true,"@type":"Output","id":"id_2ce65fe6_cab7_4917_b09a_eefe824f2f86","value":"totalSales"},{"@type":"Return","id":"id_b6eeba17_b2f9_483c_9572_2b3a16eb234c","maybeValue":null}],"parameters":[]},"id":"id_a23a5439_0fe2_4bad_92ae_9a82fe15748c","config":{"showDebugVars":true,"showIoBtns":true,"showFunctions":true,"lang":"java","showGenCode":true},"version":"0.2","revision":353}