Question: Code this using C language and comment on each section for to understand the code. And use links for reference. Program 8 (Rectangles) Source and

Code this using C language and comment on each section for to understand the code. And use links for reference.
Program 8 (Rectangles)
Source and header files
prog8_main.c
http://mjgeiger.github.io/eece2160/programs/src/prog8_main.c
Point.h
http://mjgeiger.github.io/eece2160/programs/src/Point.h
Point.c (starter file)
http://mjgeiger.github.io/eece2160/programs/src/Point.c
Rectangle.h
http://mjgeiger.github.io/eece2160/programs/src/Rectangle.h
Rectangle.c (starter file)
http://mjgeiger.github.io/eece2160/programs/src/Rectangle.c
 Code this using C language and comment on each section for
to understand the code. And use links for reference. Program 8 (Rectangles)
Source and header files prog8_main.c http://mjgeiger.github.io/eece2160/programs/src/prog8_main.c Point.h http://mjgeiger.github.io/eece2160/programs/src/Point.h Point.c (starter file) http://mjgeiger.github.io/eece2160/programs/src/Point.c
Rectangle.h http://mjgeiger.github.io/eece2160/programs/src/Rectangle.h Rectangle.c (starter file) http://mjgeiger.github.io/eece2160/programs/src/Rectangle.c 1. Introduction This assignment focuses on
the use of structures. You will model a group of rectangles as
a collection of their vertices, using structures to represent each of those
points as well as the rectangles as a whole. In doing so,

1. Introduction This assignment focuses on the use of structures. You will model a group of rectangles as a collection of their vertices, using structures to represent each of those points as well as the rectangles as a whole. In doing so, you will gain familiarity with the typical file organization used when defining structures, as well as the syntax required to work with structures nested inside one another 2. Deliverables This assignment uses multiple files, versions of which are on the course website prog8 main.c: Source file containing your main function. THIS FILE SHOULD NOT BE MODIFIED Point.h: Header file containing definition of Point structure and prototypes of relevant functions. Point.c: Source file containing definitions of Point functions. Replace the code in the starter file with your own code Rectangle.h: Header file containing definition of Rectangle structure and prototypes of relevant functions Rectangle.c: Source file containing definitions of Rectangle functions. Replace the code in the starter file with your own code You are required to complete the function definitions in Point.c and Rectangle.c. You do not need to modify any other files-and absolutely should not modify the main() function-but you may add other functions in Point.h/Point.c or Rectangle.h/Rectangle.c if you deem them necessary Submit all five files (even the unchanged ones) by uploading them to your Dropbox folder. Ensure your file names match the names specified above. Failure to meet this specification will reduce your grade, as described in the program grading guidelines

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!