Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a C program that makes you do the following: Instructions for submission: Please ZIP the exe, c and h files. Create a Program that
Create a C program that makes you do the following:
Instructions for submission: Please ZIP the exe, c and h files. Create a Program that makes you do the following 1) Select assignment number (2, 3, 5, or 6) from menu. Exit if 0 selected. 2) Select problem number from menu (at least 5 from each assignment) 3) Execute the program based on selection 4) Return Control back to Selecting assignment IMPORTANT: Create different .h files for different problems as discussed in class. You have to generate a Problem Solver which can solve all the problems you have done in your assignments. This system will provide a menu to user in which he/she has to select the assignment number and corresponding problem number to solve. Once the user enter the selected number from menu, the system should ask for the user input if any and then show the output. Users can solve as many problem as they want and to end the program they press 0. Below are the files required to generate the Problem Solver: 1- Main file [Points:20] Main file is basically a.c extension file which is given in the sample code folder. Main file should contain your main function in it. In main function you have to generate a menu which will allow user to select any problem from the list of assignments. For uniformity give the number which shows the assignment number followed by problem number. 2- Header files [Points: 30] For each assignment add a header file containing all the declarations of its functions. For each assignment problem give the definition of each function declare in the header file. A sample of a header file is provided on LMS. Functions for each Problem [Points: 200 You have to generate at least 3 sub functions for each problem as given below, 1. Input Function: To take input from user. [Points: 3] 2. Processing Function: To do the processing. [Points: 51 3. Output Function: To show the output. [Points: 2 Note: You have to generate system for Assignment 2, 3, 5, and 6 having total of 20 problems which are already implemented you just need to generate separate functions, sub functions and header files as defined above. Add comments explaining your strategy for solving in your code. Bonus marks: Use recursive functions instead of iterative code and use dynamic memory allocation for all processing functions to get bonus marks which will be added to your sessional. Instructions for submission: Please ZIP the exe, c and h files. Create a Program that makes you do the following 1) Select assignment number (2, 3, 5, or 6) from menu. Exit if 0 selected. 2) Select problem number from menu (at least 5 from each assignment) 3) Execute the program based on selection 4) Return Control back to Selecting assignment IMPORTANT: Create different .h files for different problems as discussed in class. You have to generate a Problem Solver which can solve all the problems you have done in your assignments. This system will provide a menu to user in which he/she has to select the assignment number and corresponding problem number to solve. Once the user enter the selected number from menu, the system should ask for the user input if any and then show the output. Users can solve as many problem as they want and to end the program they press 0. Below are the files required to generate the Problem Solver: 1- Main file [Points:20] Main file is basically a.c extension file which is given in the sample code folder. Main file should contain your main function in it. In main function you have to generate a menu which will allow user to select any problem from the list of assignments. For uniformity give the number which shows the assignment number followed by problem number. 2- Header files [Points: 30] For each assignment add a header file containing all the declarations of its functions. For each assignment problem give the definition of each function declare in the header file. A sample of a header file is provided on LMS. Functions for each Problem [Points: 200 You have to generate at least 3 sub functions for each problem as given below, 1. Input Function: To take input from user. [Points: 3] 2. Processing Function: To do the processing. [Points: 51 3. Output Function: To show the output. [Points: 2 Note: You have to generate system for Assignment 2, 3, 5, and 6 having total of 20 problems which are already implemented you just need to generate separate functions, sub functions and header files as defined above. Add comments explaining your strategy for solving in your code. Bonus marks: Use recursive functions instead of iterative code and use dynamic memory allocation for all processing functions to get bonus marks which will be added to your sessionalStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started