Macro fail

So i wrote this code for a vending machine type of code. Here it the code:
(And here it is using code tags, the </> button on the menu. Moderator)

int pengerTotal;
int brusPris = 8;
boolean reset = false;

void setup() {
 // put your setup code here, to run once:
 Serial.begin(9600);
 pinMode(2, INPUT_PULLUP); // 1 krone
 pinMode(3, INPUT_PULLUP); // 5 kroner
 pinMode(11, INPUT_PULLUP); // Coca-cola
 pinMode(12, INPUT_PULLUP); // Solo
 pinMode(4, OUTPUT);
 pinMode(5, OUTPUT);
 pinMode(6, OUTPUT);
 pinMode(7, OUTPUT);
 pinMode(8, OUTPUT);
 pinMode(9, OUTPUT);
 pinMode(10, OUTPUT);
 pinMode(13, OUTPUT); // LED (Grønn)
}

void loop() {
 // put your main code here, to run repeatedly:
 if ((digitalRead(2) == LOW) && (pengerTotal < brusPris)) {
   pengerTotal = pengerTotal + 1;

   if (pengerTotal == 1) penger (0, 1, 1, 0, 0, 0, 0);
   if (pengerTotal == 2) penger (1, 1, 0, 1, 1, 0, 1);
   if (pengerTotal == 3) penger (1, 1, 1, 1, 0, 0, 1);
   if (pengerTotal == 4) penger (0, 1, 1, 0, 0, 1, 1);
   if (pengerTotal == 5) penger (1, 0, 1, 1, 0, 1, 1);
   if (pengerTotal == 6) penger (0, 0, 1, 1, 1, 1, 1);
   if (pengerTotal == 7) penger (1, 1, 1, 0, 0, 0, 0);
   if (pengerTotal == 8) penger (1, 1, 1, 1, 1, 1, 1);
   if (pengerTotal == 9) penger (1, 1, 1, 0, 0, 1, 1);
 }

 if ((digitalRead(3) == LOW) && (pengerTotal < brusPris)) {
   pengerTotal = pengerTotal + 5;
   if (pengerTotal > brusPris) {
     pengerTotal = pengerTotal - 5;
   }
 }

 if (pengerTotal == brusPris && digitalRead(11) LOW || digitalRead(12) == LOW; {
 digitalWrite(12, HIGH);
   reset = true;
   delay(10000);
 }
 
 if (reset == true); {
 pengerTotal = 0;
 penger(0, 0, 0, 0, 0, 0, 0);
   digitalWrite(12, LOW);
   reset = false;
 }
}

void penger(int a, int b, int c, int d, int e, int f, int g) {  //these could be bytes, as none will exceed 255
 digitalWrite(4, a);
 digitalWrite(5, b);
 digitalWrite(6, c);
 digitalWrite(7, d);
 digitalWrite(8, e);
 digitalWrite(9, f);
 digitalWrite(10, g);
 return;
}

I get this error message:

C:\Users\dan\Desktop\Arduino\venmachine\venmachine.ino:46:50: note: in expansion of macro ‘LOW’

if (pengerTotal == brusPris && digitalRead(11) LOW || digitalRead(12) == LOW; {

Any idea on how to solve this? If you need more info let me know.

if (pengerTotal == brusPris && digitalRead(11) LOW || digitalRead(12) == LOW; {

Try explaining, in English, just what this statement is supposed to mean. LOW almost always appears, in an if statement, AFTER the == operator. The == operator NEVER appears outside of the parentheses of an if statement.

Finally, the presence of a semicolon at the end of an if statement is, 99.999999% of the time, completely wrong.

PengerTotal means Money total and the brusPris means drink cost. Its kinda hard translating for me..

if (pengerTotal == brusPris && digitalRead(11) LOW || digitalRead(12) == LOW; {

You need == between (11) and LOW, and delete the ; at the end.
I would also add more ( ) in that line.

 if ((pengerTotal == brusPris) && ((digitalRead(11) == LOW) || (digitalRead(12) == LOW))} {

Or perhaps

 if ((pengerTotal == brusPris) && (digitalRead(11) == LOW)) || (digitalRead(12) == LOW)} {

I like your penger() function.
That is a lot cleaner than many examples I have seen to drive a 7 segment display when a complete port is not available and the outputs are across multiple ports.

Haha thanks! I got some help today to make this code, im rather new to this. I know got the stupidest error, but my head has had enough of this today:
1111.JPG

1111.JPG

If i could get help on the last error i showed it would be great, i literally cant find where the error is

If i could get help on the last error i showed it would be great, i literally cant find where the error is

The compiler generates text, not pictures. Post the TEXT of the error message AND the code that causes it AS TEXT!

For a start the ; after the close bracket is rubbish - remove it.

if (reset == true) {

Most likely it seem the error relates to the statement BEFORE the IF since the message says...
"expected ")" before "if"

Missing equals in the previous if...
Ends with a ;, instead of a close bracket )...

Correct code:

 if (pengerTotal == brusPris && digitalRead(11) == LOW || digitalRead(12) == LOW) {
    digitalWrite(12, HIGH);
    reset = true;
    delay(10000);
 }

You're also probably missing some brackets. This logic...

(pengerTotal == brusPris && digitalRead(11) == LOW) || digitalRead(12) == LOW

Is NOT the same as this logic...

pengerTotal == brusPris && (digitalRead(11) == LOW || digitalRead(12) == LOW)

C has a precedence for && and ||, but I certainly don't remember what it is. I expect 99% of C programmers are the same and use brackets to ensure understanding.