Creating a 2-digit 7-Segment Display for Temperature

RookieOfTheYear:
So if the pins used for the values are (3,4,5,6) and (7,8,9,10), what syntax would I use to assign those?

The C++/Arduino syntax.

You use the digitalWrite() function to set the pins as HIGH or LOW. You can use bitRead() function to extract the binary bits that need to be set for each of the pins.

int pinOne = 3;
  int pinTwo = 7;
  
  pinMode(pinOne, OUTPUT);
  pinMode(pinTwo, OUTPUT);
  
  int digitOne = temp / 10;
  int digitTwo = temp % 10;
  
  Serial.println(temp);
  Serial.println(digitOne);
  Serial.println(digitTwo);
  
  digitalWrite(pinOne, HIGH);
  digitalWrite(pinTwo, HIGH);

What is this supposed to do exactly? All this does is determine the digits, print them out to the Serial monitor and set pins 3 and 7 HIGH.