
digraph {
  bgcolor="transparent"

  node [penwidth=0.5 fontsize="12" shape="box" style="filled" fontcolor="white" fontname="Courier New"]
  edge [penwidth=2 fontsize="10" color="#0A1931" arrowsize=0.8 fontname="Courier New"]

#########
# NODES #
#########
  id_9d827e24_1112_4e49_9b2d_f0e30fd08dae [id="id_9d827e24_1112_4e49_9b2d_f0e30fd08dae#Begin" pos="0.0,10000.0!" height=0.4 width=1.0 fixedsize=true group="fun-main"    label="Begin" tooltip="Begin" shape="ellipse" fillcolor="#8de4ff" color="#00799e" fontcolor="#982b13"] 
  id_27b1de71_c7e8_4b13_81ca_0e5aed0c62b1 [id="id_27b1de71_c7e8_4b13_81ca_0e5aed0c62b1#Declare" pos="0.0,9999.0625!" height=0.4 width=1.19 fixedsize=true group="fun-main"    label="studentID" tooltip="studentID: String" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_4c8ee228_c0ea_4bc8_8cd8_16b79aa08e9f [id="id_4c8ee228_c0ea_4bc8_8cd8_16b79aa08e9f#Declare" pos="0.0,9998.125!" height=0.4 width=1.3 fixedsize=true group="fun-main"    label="gender = 0" tooltip="gender: Integer = 0" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_b70ed51f_4f13_46de_8bd3_3434f8706c38 [id="id_b70ed51f_4f13_46de_8bd3_3434f8706c38#Declare" pos="0.0,9997.1875!" height=0.4 width=1.8499999999999999 fixedsize=true group="fun-main"    label="countfemale = 0" tooltip="countfemale: Integer = 0" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_00f4173f_9e63_43fd_a461_be56dfb4d05e [id="id_00f4173f_9e63_43fd_a461_be56dfb4d05e#Declare" pos="0.0,9996.25!" height=0.4 width=1.63 fixedsize=true group="fun-main"    label="countmale = 0" tooltip="countmale: Integer = 0" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_6f382a50_8bac_4605_8e0a_94dd61143769 [id="id_6f382a50_8bac_4605_8e0a_94dd61143769#Declare" pos="0.0,9995.3125!" height=0.4 width=1.19 fixedsize=true group="fun-main"    label="total = 0" tooltip="total: Integer = 0" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_ab848e03_6e8e_407f_b0f3_3edf9ca89fd0 [id="id_ab848e03_6e8e_407f_b0f3_3edf9ca89fd0#Output" pos="0.0,9994.375!" height=0.4 width=3.1700000000000004 fixedsize=true group="fun-main"    label="\"Please enter student ID\"" tooltip="\"Please enter student ID\"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_bd6b56d5_476e_4959_becb_cae2c3b2d176 [id="id_bd6b56d5_476e_4959_becb_cae2c3b2d176#Input" pos="0.0,9993.4375!" height=0.4 width=1.19 fixedsize=true group="fun-main"    label="studentID" tooltip="studentID" shape="invtrapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_d8352ad3_449d_4934_930c_aa65de9e3492 [id="id_d8352ad3_449d_4934_930c_aa65de9e3492#While" pos="0.0,9992.5!" height=0.5 width=2.7 fixedsize=true group="fun-main" 
    label="studentID != \"END\"" tooltip="studentID != \"END\"" shape="diamond" fillcolor="#ffd166" color="#8f6400" fontcolor="black"]
  
  true_dummy_up_id_d8352ad3_449d_4934_930c_aa65de9e3492 [pos="6.25,9992.5!" shape=point width=0]
  false_dummy_up_id_d8352ad3_449d_4934_930c_aa65de9e3492 [pos="-2.5,9992.5!" shape=point width=0]
  
  id_0f0f8122_546c_44fd_99e9_78456c246a9b [id="id_0f0f8122_546c_44fd_99e9_78456c246a9b#Output" pos="6.25,9991.5625!" height=0.4 width=5.59 fixedsize=true group="id_0dd22fa0_a426_43cf_aa59_8ddbce3b1852"    label="\"Please enter gender, 1 IF MALE or 2 IF FEMALE\"" tooltip="\"Please enter gender, 1 IF MALE or 2 IF FEMALE\"" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_1a5519f3_a006_43b6_9b4a_40abaf3c4619 [id="id_1a5519f3_a006_43b6_9b4a_40abaf3c4619#Input" pos="6.25,9990.625!" height=0.4 width=1.0 fixedsize=true group="id_0dd22fa0_a426_43cf_aa59_8ddbce3b1852"    label="gender" tooltip="gender" shape="invtrapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_35077b2b_485d_423d_acff_b76edf3cfc3e [id="id_35077b2b_485d_423d_acff_b76edf3cfc3e#If" pos="6.25,9989.6875!" height=0.5 width=1.71 fixedsize=true group="id_0dd22fa0_a426_43cf_aa59_8ddbce3b1852" 
    label="gender == 2" tooltip="gender == 2" shape="diamond" fillcolor="#ffd166" color="#8f6400" fontcolor="black"]
  
  true_dummy_up_id_35077b2b_485d_423d_acff_b76edf3cfc3e [pos="8.75,9989.6875!" shape=point width=0]
  false_dummy_up_id_35077b2b_485d_423d_acff_b76edf3cfc3e [pos="3.75,9989.6875!" shape=point width=0]
  
  id_48350e6b_6c2a_45ce_90e8_17d1e847689e [id="id_48350e6b_6c2a_45ce_90e8_17d1e847689e#Assign" pos="8.75,9988.75!" height=0.4 width=3.39 fixedsize=true group="id_9c8ea39f_a7ad_426a_bc0e_b7c7a590906e"    label="countfemale = countfemale + 1" tooltip="countfemale = countfemale + 1" fillcolor="#002a3a" color="#001117" fontcolor="white"] 
  id_cd892cab_b0ab_4e0f_b574_820951137768 [id="id_cd892cab_b0ab_4e0f_b574_820951137768#Output" pos="8.75,9987.8125!" height=0.4 width=1.41 fixedsize=true group="id_9c8ea39f_a7ad_426a_bc0e_b7c7a590906e"    label="countfemale" tooltip="countfemale" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  id_1f1a11d8_5dd7_4aaf_8770_c5f47e6b65b8 [id="id_1f1a11d8_5dd7_4aaf_8770_c5f47e6b65b8#Assign" pos="3.75,9988.75!" height=0.4 width=2.95 fixedsize=true group="id_7b655f84_634b_48bc_ab33_b13a003df55b"    label="countmale = countmale + 1" tooltip="countmale = countmale + 1" fillcolor="#002a3a" color="#001117" fontcolor="white"] 
  id_a33a0389_c7dc_4ea8_941a_639dedf1242b [id="id_a33a0389_c7dc_4ea8_941a_639dedf1242b#Output" pos="3.75,9987.8125!" height=0.4 width=1.19 fixedsize=true group="id_7b655f84_634b_48bc_ab33_b13a003df55b"    label="countmale" tooltip="countmale" shape="trapezium" fillcolor="#015692" color="#002a3a" fontcolor="white"] 
  
  true_dummy_down_id_35077b2b_485d_423d_acff_b76edf3cfc3e [ pos="8.75,9986.875!" shape=point width=0]
  false_dummy_down_id_35077b2b_485d_423d_acff_b76edf3cfc3e [ pos="3.75,9986.875!" shape=point width=0]
  
  end_id_35077b2b_485d_423d_acff_b76edf3cfc3e [id="end_id_35077b2b_485d_423d_acff_b76edf3cfc3e#IfEnd" class="flowrun-not-selectable" pos="6.25,9986.875!" group="id_0dd22fa0_a426_43cf_aa59_8ddbce3b1852" fillcolor="#ffd166" color="#8f6400" fontcolor="black"
    label="" tooltip=" " shape="circle" fixedsize=true width=0.2 height=0.2]
  
  
  
  true_dummy_down_id_d8352ad3_449d_4934_930c_aa65de9e3492 [pos="6.25,9986.041666666666!" shape=point width=0]
  true_dummy_down_left_id_d8352ad3_449d_4934_930c_aa65de9e3492 [pos="0.0,9986.041666666666!" shape=point width=0]
  false_dummy_down_id_d8352ad3_449d_4934_930c_aa65de9e3492 [pos="-2.5,9985.9375!" shape=point width=0]
  end_dummy_down_id_d8352ad3_449d_4934_930c_aa65de9e3492 [pos="0.0,9985.9375!" group="fun-main" shape=point width=0]
  
  
  id_ebe7bc8c_1b4a_4c4a_bf52_397d0fe54ce9 [id="id_ebe7bc8c_1b4a_4c4a_bf52_397d0fe54ce9#Return" pos="0.0,9985.0!" height=0.4 width=1.0 fixedsize=true group="fun-main"    label="End" tooltip="End" shape="ellipse" fillcolor="#8de4ff" color="#00799e" fontcolor="#982b13"] 

#########
# EDGES #
#########
  id_9d827e24_1112_4e49_9b2d_f0e30fd08dae:s -> id_27b1de71_c7e8_4b13_81ca_0e5aed0c62b1:n [id="id_9d827e24_1112_4e49_9b2d_f0e30fd08dae@fun-main" tailtooltip=" " edgetooltip=" "]
  id_27b1de71_c7e8_4b13_81ca_0e5aed0c62b1:s -> id_4c8ee228_c0ea_4bc8_8cd8_16b79aa08e9f:n [id="id_27b1de71_c7e8_4b13_81ca_0e5aed0c62b1@fun-main" tailtooltip=" " edgetooltip=" "]
  id_4c8ee228_c0ea_4bc8_8cd8_16b79aa08e9f:s -> id_b70ed51f_4f13_46de_8bd3_3434f8706c38:n [id="id_4c8ee228_c0ea_4bc8_8cd8_16b79aa08e9f@fun-main" tailtooltip=" " edgetooltip=" "]
  id_b70ed51f_4f13_46de_8bd3_3434f8706c38:s -> id_00f4173f_9e63_43fd_a461_be56dfb4d05e:n [id="id_b70ed51f_4f13_46de_8bd3_3434f8706c38@fun-main" tailtooltip=" " edgetooltip=" "]
  id_00f4173f_9e63_43fd_a461_be56dfb4d05e:s -> id_6f382a50_8bac_4605_8e0a_94dd61143769:n [id="id_00f4173f_9e63_43fd_a461_be56dfb4d05e@fun-main" tailtooltip=" " edgetooltip=" "]
  id_6f382a50_8bac_4605_8e0a_94dd61143769:s -> id_ab848e03_6e8e_407f_b0f3_3edf9ca89fd0:n [id="id_6f382a50_8bac_4605_8e0a_94dd61143769@fun-main" tailtooltip=" " edgetooltip=" "]
  id_ab848e03_6e8e_407f_b0f3_3edf9ca89fd0:s -> id_bd6b56d5_476e_4959_becb_cae2c3b2d176:n [id="id_ab848e03_6e8e_407f_b0f3_3edf9ca89fd0@fun-main" tailtooltip=" " edgetooltip=" "]
  id_bd6b56d5_476e_4959_becb_cae2c3b2d176:s -> id_d8352ad3_449d_4934_930c_aa65de9e3492:n [id="id_bd6b56d5_476e_4959_becb_cae2c3b2d176@fun-main" tailtooltip=" " edgetooltip=" "]
  ## WHILE-TRUE
  id_d8352ad3_449d_4934_930c_aa65de9e3492:e -> true_dummy_up_id_d8352ad3_449d_4934_930c_aa65de9e3492 [id="id_d8352ad3_449d_4934_930c_aa65de9e3492@id_0dd22fa0_a426_43cf_aa59_8ddbce3b1852" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="true" fontcolor="forestgreen"]
  true_dummy_up_id_d8352ad3_449d_4934_930c_aa65de9e3492 -> id_0f0f8122_546c_44fd_99e9_78456c246a9b:n [id="id_d8352ad3_449d_4934_930c_aa65de9e3492@id_0dd22fa0_a426_43cf_aa59_8ddbce3b1852" tailtooltip=" " edgetooltip=" "]
  
  id_0f0f8122_546c_44fd_99e9_78456c246a9b:s -> id_1a5519f3_a006_43b6_9b4a_40abaf3c4619:n [id="id_0f0f8122_546c_44fd_99e9_78456c246a9b@id_0dd22fa0_a426_43cf_aa59_8ddbce3b1852" tailtooltip=" " edgetooltip=" "]
  id_1a5519f3_a006_43b6_9b4a_40abaf3c4619:s -> id_35077b2b_485d_423d_acff_b76edf3cfc3e:n [id="id_1a5519f3_a006_43b6_9b4a_40abaf3c4619@id_0dd22fa0_a426_43cf_aa59_8ddbce3b1852" tailtooltip=" " edgetooltip=" "]
  ## IF-TRUE
  id_35077b2b_485d_423d_acff_b76edf3cfc3e:e -> true_dummy_up_id_35077b2b_485d_423d_acff_b76edf3cfc3e [id="id_35077b2b_485d_423d_acff_b76edf3cfc3e@id_9c8ea39f_a7ad_426a_bc0e_b7c7a590906e" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="true" fontcolor="forestgreen"]
  true_dummy_up_id_35077b2b_485d_423d_acff_b76edf3cfc3e -> id_48350e6b_6c2a_45ce_90e8_17d1e847689e:n [id="id_35077b2b_485d_423d_acff_b76edf3cfc3e@id_9c8ea39f_a7ad_426a_bc0e_b7c7a590906e" tailtooltip=" " edgetooltip=" "]
  
  id_48350e6b_6c2a_45ce_90e8_17d1e847689e:s -> id_cd892cab_b0ab_4e0f_b574_820951137768:n [id="id_48350e6b_6c2a_45ce_90e8_17d1e847689e@id_9c8ea39f_a7ad_426a_bc0e_b7c7a590906e" tailtooltip=" " edgetooltip=" "]
  id_cd892cab_b0ab_4e0f_b574_820951137768:s -> true_dummy_down_id_35077b2b_485d_423d_acff_b76edf3cfc3e:n [id="id_cd892cab_b0ab_4e0f_b574_820951137768@id_9c8ea39f_a7ad_426a_bc0e_b7c7a590906e" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  true_dummy_down_id_35077b2b_485d_423d_acff_b76edf3cfc3e -> end_id_35077b2b_485d_423d_acff_b76edf3cfc3e [id="id_cd892cab_b0ab_4e0f_b574_820951137768@id_9c8ea39f_a7ad_426a_bc0e_b7c7a590906e" tailtooltip=" " edgetooltip=" "]
  
  
  ## IF-FALSE
  id_35077b2b_485d_423d_acff_b76edf3cfc3e:w -> false_dummy_up_id_35077b2b_485d_423d_acff_b76edf3cfc3e [id="id_35077b2b_485d_423d_acff_b76edf3cfc3e@id_7b655f84_634b_48bc_ab33_b13a003df55b" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="false" fontcolor="red"]
  false_dummy_up_id_35077b2b_485d_423d_acff_b76edf3cfc3e -> id_1f1a11d8_5dd7_4aaf_8770_c5f47e6b65b8:n [id="id_35077b2b_485d_423d_acff_b76edf3cfc3e@id_7b655f84_634b_48bc_ab33_b13a003df55b" tailtooltip=" " edgetooltip=" "]
  
  id_1f1a11d8_5dd7_4aaf_8770_c5f47e6b65b8:s -> id_a33a0389_c7dc_4ea8_941a_639dedf1242b:n [id="id_1f1a11d8_5dd7_4aaf_8770_c5f47e6b65b8@id_7b655f84_634b_48bc_ab33_b13a003df55b" tailtooltip=" " edgetooltip=" "]
  id_a33a0389_c7dc_4ea8_941a_639dedf1242b:s -> false_dummy_down_id_35077b2b_485d_423d_acff_b76edf3cfc3e:n [id="id_a33a0389_c7dc_4ea8_941a_639dedf1242b@id_7b655f84_634b_48bc_ab33_b13a003df55b" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  false_dummy_down_id_35077b2b_485d_423d_acff_b76edf3cfc3e -> end_id_35077b2b_485d_423d_acff_b76edf3cfc3e [id="id_a33a0389_c7dc_4ea8_941a_639dedf1242b@id_7b655f84_634b_48bc_ab33_b13a003df55b" tailtooltip=" " edgetooltip=" "]
  
  ## IF-END
  end_id_35077b2b_485d_423d_acff_b76edf3cfc3e:s -> true_dummy_down_id_d8352ad3_449d_4934_930c_aa65de9e3492:n [id="end_id_35077b2b_485d_423d_acff_b76edf3cfc3e@id_0dd22fa0_a426_43cf_aa59_8ddbce3b1852" tailtooltip=" " edgetooltip=" " arrowhead=none]
  
  
  
  true_dummy_down_id_d8352ad3_449d_4934_930c_aa65de9e3492 -> true_dummy_down_left_id_d8352ad3_449d_4934_930c_aa65de9e3492 [id="id_35077b2b_485d_423d_acff_b76edf3cfc3e@id_0dd22fa0_a426_43cf_aa59_8ddbce3b1852" tailtooltip=" " edgetooltip=" " arrowhead=none]
  true_dummy_down_left_id_d8352ad3_449d_4934_930c_aa65de9e3492 -> id_d8352ad3_449d_4934_930c_aa65de9e3492:s [id="id_35077b2b_485d_423d_acff_b76edf3cfc3e@id_0dd22fa0_a426_43cf_aa59_8ddbce3b1852" tailtooltip=" " edgetooltip=" "]
  
  ## WHILE-FALSE
  id_d8352ad3_449d_4934_930c_aa65de9e3492:w -> false_dummy_up_id_d8352ad3_449d_4934_930c_aa65de9e3492 [id="id_d8352ad3_449d_4934_930c_aa65de9e3492@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none taillabel="false" fontcolor="red"]
  false_dummy_up_id_d8352ad3_449d_4934_930c_aa65de9e3492 -> false_dummy_down_id_d8352ad3_449d_4934_930c_aa65de9e3492 [id="id_d8352ad3_449d_4934_930c_aa65de9e3492@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none]
  false_dummy_down_id_d8352ad3_449d_4934_930c_aa65de9e3492 -> end_dummy_down_id_d8352ad3_449d_4934_930c_aa65de9e3492 [id="id_d8352ad3_449d_4934_930c_aa65de9e3492@fun-main" tailtooltip=" " edgetooltip=" " arrowhead=none]
  end_dummy_down_id_d8352ad3_449d_4934_930c_aa65de9e3492 -> id_ebe7bc8c_1b4a_4c4a_bf52_397d0fe54ce9 [id="id_d8352ad3_449d_4934_930c_aa65de9e3492@fun-main" tailtooltip=" " edgetooltip=" "]
  

}
