need MULTIPLEXING 7 segment help

Grumpy_Mike:
What you wish to display is irrelevant it all works the same.

The link describes the concepts you need to use. If you can't understand it then you are not ready to do this project. Spend some more time doing tutorials and trying to understand them. Or ask specifically about what you don't understand.

About the mask and pattern things. how does the mask work?

And

void display7(int num){
int mask = 1;
  for(int i=0; i<7; i++){
   if((mask & sevenCode[num]) == 0) digitalWrite(pins[i], LOW); else digitalWrite(pins[i], HIGH);
   mask = mask << 1;
  }
}

What will be outcome of the display here? what will be display?
Sorry for asking so much