C program, to deliver the .c file and .exe file
Write a program that manages software projects, for each project the following data is required: a) Project ID [1, 100] and unique b) Customer name (maximum 40 characters) c) Customer email (
[email protected] ) d) Start date (Structure with day, month and year 99/99/9999) (year major 1999) e) End date (Structure with day, month and year 99/99/9999) (year major 1999) and must be greater than the start date) f) Cost of the project (greater than 0) in amount without VAT g) Leader of the project (maximum 40 characters) h) Email of the project leader (
[email protected]) i) Status (P = in process, T = finished and N = not started) You will have to declare a structure with the necessary elements or fields and an array of that structure. Create a function to fill the array for N projects (do not request the value of N) where it will require inputs and validations corresponding, the dates are required to validate with the function of the .h file that must have, the emails of They must validate that there are characters then @ then characters later. then characters and optionally they can go another. and characters; example
[email protected] or
[email protected]. Once you have the arrangement with the projects, show the following menu: DEVELOPMENT OF SOLUTIONS API 1.-Show the projects ordered by ID 2.-Show the projects that have not started 3.-Show the projects in Process 4.-Show the finished projects 5.-Finish Select the option 1 should call a function that shows the projects and return to display the menu until option 5 is selected. For options 2, 3 and 4, you must create a function that performs the requested (with a single function you can solve the 3 options) and return to display the menu until option 5 is selected. Comments: (This I write it myself) The .h file is just another file with the function to validate the date, also this program doesn’t need a user interface, console works fine. The menu should be showed as it is in this document, if possible. Another thing to add: This program is meant to be done in 2-3 hours because it comes from a laboratory, so, no need for fancy things. mailto:
[email protected] Even some errors are fine, make it look like an average student write it if possible. Knowledge we should know: Structures, typedf, pointers, arrays, functions that receive pointers as parameters.