Problems with 74HC595 and ULN2003 to drive 12V 7 segment

Code updated accordingly and it works as wanted.
0 0 0 0 0 0 1 0

128 64 32 16 8 4 2 1

A B C D E F G

00100100
1101101

3

0000110

4

10011000

5

01001000

6

01000000

7

00011110

const int latchPin = 7; // Pin connected to Pin 12 of 74HC
const int dataPin = 4; // Pin connected to Pin 14 of 74HC
const int clockPin = 8; // Pin connected to Pin 11 of 74HC
// 0,1,2,3,4,5,6,7,8,9
int dec[10] = {63,6,91,79,102,109,125,7,127,111};

int count;
int display_number;
void setup() {
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
pinMode(dataPin, OUTPUT);
}
void loop() {
for (count = 0; count<10; count++){
display_number = dec[count];
digitalWrite(latchPin, LOW);
shiftOut(dataPin, clockPin, MSBFIRST, display_number);
digitalWrite(latchPin, HIGH);
delay(1000);
}
}