Question: I need help with the following questions please Structures and arrays file 1. Download structinstruct3.c that we analyzed in class into your own labo3 directory.
I need help with the following questions please

Structures and arrays file


1. Download structinstruct3.c that we analyzed in class into your own labo3 directory. Rename the file lab03structs.c. 2. Open emacs by opening the terminal and typing emacs24 3 Open lab03structs.c in emacs and look over the code. 4. Add a float member to struct address_tag called latitude - make it the first entity in the structure. 5. Add a float member to struct address_tag called longitude - make it the second entity in the structure 6. Update the code in main so that these 2 new fields are given some values when creating an array of people and printed in display functions. 7. Compile and run in Emacs. 8. Add function changeLocation lab03structs.c that takes one Person variable and a latitude and a longitude values for that person's house (3 arguments all together). Change the existing latitude and longitude for that person's address to the new ones. Test in main by passing one of the array records to this function along with some new latitude and longitude values. 9. Compile and run in Emacs. 10. Add a function changeFirstName to lab03structs.c that takes one Person variable and a new first name for that person. Change the existing name to this new name. Assume that the new first name is of appropriate length (no error checking required). Test in main by passing one of the array records to this function along with a new first name. 11. Compile and run in Emacs. Take a couple of screenshots that show you edited and ran the code in Emacs. Do it for each lab partner since we are working remotely this quarter. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
