Complete the code to define a struct named Person with a string name.
struct Person {
string [1];
}The struct Person should have a field called name of type string.
Complete the code to declare a variable of type Person named user.
Person [1];The variable should be named user as requested.
Fix the error in the struct definition by completing the missing type for the field age.
struct Person {
string name;
[1] age;
}string or bool for age.address which is for blockchain addresses.The field age should be an unsigned integer (uint) to represent a person's age.
Fill both blanks to create a struct named Car with a string model and a uint year.
struct [1] { [2] model; uint year; }
The struct should be named Car and the model field should be of type string.
Fill all three blanks to create a struct named Book with a string title, string author, and uint pages.
struct [1] { [2] title; [3] author; uint pages; }
The struct is named Book. Both title and author fields are of type string.
