Need help with 2 digit 7 segment counter

i need help with counter from 0 -99 this is my code keeps giving me errors ! its for home work someone help?

int e = 2;
int d = 3;
int c = 4;
int g = 5;
int dp = 6;
int a = 11;
int b = 10;
int f = 7;
int d1 = 8; //first common anodie to pin
int d2 = 9;
int x = 0;//start counter at zero
unsigned long previousMillis = 0;
const long interval = 1000;
void setup() {
// put your setup code here, to run once:
Serial.begin (9600);// serial print
pinMode (e, OUTPUT);//
pinMode (d, OUTPUT);
pinMode (c, OUTPUT);
pinMode (g, OUTPUT);
pinMode (dp, OUTPUT);
pinMode (a, OUTPUT);
pinMode (b, OUTPUT);
pinMode (f, OUTPUT);
pinMode (d1, OUTPUT);
pinMode (d2, OUTPUT);

digitalWrite (e, HIGH);//set to high
digitalWrite (d, HIGH);//set to high
digitalWrite (c, HIGH);//set to high
digitalWrite (g, HIGH);//set to high
digitalWrite (dp, HIGH);//set to high
digitalWrite (a, HIGH);//set to high
digitalWrite (b, HIGH);//set to high

}

void loop() {
// put your main code here, to run repeatedly:
if (x >= 10) {
x = 0;
}
}
unsigned long currentMillis = millis();
if (currentMillis - previousMillis >= interval) {
previousMilis = currentMilis;
}
for (x;x < 10;x++)(

if (x == 0) {
zero();
}

if (x == 1) {
one();
}

if (x == 2) {
two();
}

if (x == 3) {
three();
}
if (x == 4) {
four();
}
if (x == 5) {
five();
}

if (x == 6) {
six();
}

if (x == 7) {
Seven();
}

if (x == 8) {
eight();
}

if (x == 9) {
nine();
}

reset();
Serial.printin(x);
}
}
}

void zero() {
digitalWrite(a, LOW);
digitalWrite(b, LOW);
digitalWrite(c, LOW);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, LOW);
digitalWrite(d1, LOW);
}

void one() {
digitalWrite(a, LOW);
digitalWrite(b, LOW);
digitalWrite(c, LOW);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, LOW);
digitalWrite(d1, LOW);
}

void two() {
digitalWrite(a, LOW);
digitalWrite(b, LOW);
digitalWrite(c, LOW);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, LOW);
digitalWrite(d1, LOW);
}

void three() {
digitalWrite(a, LOW);
digitalWrite(b, LOW);
digitalWrite(c, LOW);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, LOW);
digitalWrite(d1, LOW);
}

void four() {
digitalWrite(a, LOW);
digitalWrite(b, LOW);
digitalWrite(c, LOW);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, LOW);
digitalWrite(d1, LOW);
}

void five() {
digitalWrite(a, LOW);
digitalWrite(b, LOW);
digitalWrite(c, LOW);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, LOW);
digitalWrite(d1, LOW);
}

void six() {
digitalWrite(a, LOW);
digitalWrite(b, LOW);
digitalWrite(c, LOW);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, LOW);
digitalWrite(d1, LOW);
}

void seven() {
digitalWrite(a, LOW);
digitalWrite(b, LOW);
digitalWrite(c, LOW);
digitalWrite(d2, HIGH);
}

void eight() {
digitalWrite(a, LOW);
digitalWrite(b, LOW);
digitalWrite(c, LOW);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, LOW);
digitalWrite(d2, HIGH);
}

void nine() {
digitalWrite(a, LOW);
digitalWrite(b, LOW);
digitalWrite(c, LOW);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, LOW);
digitalWrite(d2, HIGH);
}

void reset(){
digitalWrite(a, LOW);
digitalWrite(c, LOW);
digitalWrite(b, LOW);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, LOW);
digitalWrite(g, LOW);
digitalWrite(d1, LOW);
digitalWrite(d2, LOW);
}

But it's not our homework, so what are the errors? 8)

We like it, here, when people read the “how to use this forum-please read” stickies and post their code properly. We also like it when people post the error messages that they get when trying to compile. That means the whole error message, verbatim.

There are a lot of errors.

You have a misplaced curly bracket (}) that ends the loop() function early (line 45).

previousMilis is not equal to previousMillis and currentMilis is not equal to currentMillis

for (x; x < 10; x++) (

There should be a { not a ( after the for statement and I am not sure of the for(x; part, maybe should be for(x=0;.

You have an extra } at the end of the loop() function that creates the out of scope error for all of the subsequent functions (line 95).

Seven is not the same as seven

Serial.printin(x); is not the same as Serial.println(x).

Please read the stickies.

You have a lot of syntax errors.
Example, Seven() is not seven().
previousMillis is not previousMilis.

You need to check the placement of the }.
If you put the cursor to the right of each }, the mating { will be highlighted.

Work thru, they are pretty easy to spot, the compiler will highlight them one at a time.