Question: Help coding this program. Directions are on the attachments. It needs to show the same output as the following examples below. The code below was
gcc Wall g proj3.c o proj3.out Program Requirements l. Below the main function in provided file proj3.c, implement all the function prototypes correctly. You'll need to study the main function, the function prototypes, and examples in this document to figure out how to correctly implement these functions. Note: the first three functions are already implemented, and you should not modify their code; however, reading and studying these functions should give you an idea on where to start 2. Do not modify any of the function prototypes at the top of proj3.c 3. Do not modify the main function in any way in proj3.c. The main function will work correctly once you finish implementing all the function prototypes. Modifying the main function in any way will result in grade of0 on this project. 4. You may use your own code from your previous project to implement the functions for this project, but you'll need to modify the code to match our examples (note: triangle and pentagon shapes are different in this project than the previous project). However, if you did not complete the previous project, then you'll have a lot of extra work to do for this project because you cannot use anyone else's code (the use ofanyone else's code besides what we provide will be considered as cheating). Ifsomeone asks to see your code for this project or a previous project, then you must tell them no (otherwise, we will consider that as cheating by providing unauthorized assistance). 5. You will need to comment all function prototypes with a brief description of that that function does. The first three function prototypes are already commented, and you can use those comments in your project. 6. The instructions in this document must be followed in order for full credit to be awarded. Following the instructions is a vital part to this and all programming assignments. 7. Your program must follow the examples provided in the Examples section, and your program's I/O (input and output) must match the examples exactly (otherwise, points will be deducted) when run on our Unix machines, which means you'll need to spend time studying the examples and testing your program in various ways. If your program doe not produce the same output as our examples, then your program has a bug, and you'll need to fix any bugs using gdbor other debugging techniques
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
