I'm trying to run my code but I get this error:
Could not compile the source code.
Undeclared identifier. require(available); ^-------^ However, I defined 'available' as a boolean in a struct
struct Car{
address VechileOwner;
string make;
string model;
Renter renter;
bool available;
uint pricePerDay;
uint deposit;
uint entrycode;
uint minRentalDay;
uint maxRentalDay;
}
Much Appreciated.