Getting errors i don't understand I was following a tutorial for my class (the tutorial was assigned) and I did everything the guy did to the letter but i got errors he didn't and they were errors I didn't get while programing similar things with the exact same commands as what im getting errors on now.
Code
#include &quot;DHT.h&quot; 
#define Type DHT11
#include &lt;LiquidCrystal.h&gt;
int rs=7;
int en=8;
int d4=9;
int d5=10;
int d6=11;
int d7=12
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
int sensePin=2;
DHT HT(sensePin,Type);
float humidity;
float tempC;
float tempF;
int setTime=500;
int dt=1000;

void setup() {
   // put your setup code here, to run once:
   Serial.begin(9600);
   HT.begin();
   delay(setTime);
   lcd.begin(16,2);
}

void loop() {
   humidity=HT.readHumidity();
   tempC=HT.readTemperature();
   tempF=HT.readTemperature(true);

   lcd.setCursor(0,0);
   lcd.print(&quot;Temp F= &quot;);
   lcd.print(tempF);
   lcd.setCursor(0,1);
   lcd.print(&quot;Humidity= &quot;);
   lcd.print(humidity);
   lcd.print(&quot; %&quot;);
   delay(500);
   lcd.clear();

   Serial.print(&quot;Humidity: &quot;);
   Serial.print(humidity);
   Serial.print(&quot;% Temperature &quot;);
   Serial.print(tempC);
   Serial.print(&quot; C &quot;);
   Serial.print(tempF);
   Serial.print(&quot; F &quot;);
}

Error message
Arduino: 1.8.13 (Windows 10), Board: &quot;Arduino Uno&quot;

DHT_LCD_lab:10:2: error: expected ',' or ';' before 'LiquidCrystal'
  LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
  ^~~~~~~~~~~~~
C:\Users\zacha\Desktop\DHT_LCD_lab\DHT_LCD_lab.ino: In function 'void setup()':
DHT_LCD_lab:24:1: error: 'lcd' was not declared in this scope
 lcd.begin(16,2);
 ^~~
C:\Users\zacha\Desktop\DHT_LCD_lab\DHT_LCD_lab.ino: In function 'void loop()':
DHT_LCD_lab:34:1: error: 'lcd' was not declared in this scope
 lcd.setCursor(0,0);
 ^~~
exit status 1
expected ',' or ';' before 'LiquidCrystal'

This report would have more information with
&quot;Show verbose output during compilation&quot;
option enabled in File -&gt; Preferences.
#include &quot;DHT.h&quot; 
#define Type DHT11
#include &lt;LiquidCrystal.h&gt;
int rs=7;
int en=8;
int d4=9;
int d5=10;
int d6=11;
int d7=12;
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
int sensePin=2;
DHT HT(sensePin,Type);
float humidity;
float tempC;
float tempF;
int setTime=500;
int dt=1000;

void setup() {
  // put your setup code here, to run once:
   Serial.begin(9600);
   HT.begin();
   delay(setTime);
   lcd.begin(16,2);
 }

void loop() {
   humidity=HT.readHumidity();
   tempC=HT.readTemperature();
   tempF=HT.readTemperature(true);

   lcd.setCursor(0,0);
   lcd.print(&quot;Temp F= &quot;);
   lcd.print(tempF);
   lcd.setCursor(0,1);
   lcd.print(&quot;Humidity= &quot;);
   lcd.print(humidity);
   lcd.print(&quot; %&quot;);
   delay(500);
   lcd.clear();

   Serial.print(&quot;Humidity: &quot;);
   Serial.print(humidity);
   Serial.print(&quot;% Temperature &quot;);
   Serial.print(tempC);
   Serial.print(&quot; C &quot;);
   Serial.print(tempF);
   Serial.print(&quot; F &quot;);
  }