How do i turn this flow chart problem to a working C++ code?

  c++, charts, flow, if-statement

Im a begginer in coding and i wanted to know how to turn this flow chart with multiple decisions to a working code if someone could do the code for me I’d be very thankful this question is in my college text book .
Q: "Draw a flow chart to read a list of resistors R[], l=1,2,….,10 , and determine whether this list is accepted or not. The output should be "Accepted List", if the number of resistors that has resistance, R >= 90 ohms, Is greater than 70 resistors. Otherwise, the output should be "Rejected List" ".

My flow chart enter image description here

Source: Windows Questions C++