I get a 'syntax error before .' on line boss.age=20Code:struct database { int id_number; int age; float salary; }; int main() { database employee; //There is now an employee variable that has modifiable //variables inside it. employee.age=22; employee.id_number=1; employee.salary=12000.21; } database boss; boss.age=20 boss.id_number=2 boss.salary=100000 }
However, I can't seem to find out how to fix it.