Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi please solve below question using C PROGRAMMING LANGUAGE: Expected ouput should like below: enter option 1 Enter a task: Cooking Enter the hour to
Hi please solve below question using C PROGRAMMING LANGUAGE:
Expected ouput should like below:
enter option 1 Enter a task: Cooking Enter the hour to do the task: 1 enter option 1 Enter a task: Deliver food Enter the hour to do the task: 3 enter option 1 Enter a task: Homework Enter the hour to do the task: 3 enter option 2 Task: Cooking Hour: 1 Task: Deliver food Hour: 3 Task: Homework Hour: 3 3 Deliver food Homework enter option 0 exit
- The task list is created interactively with the following commands 1 > - Adds the task and hour specified to the bottom of the list - A task may have more than one word, so enter the info one per line 2 - Shows the list, task and hour, from oldest to newest 3 - Shows the tasks at the given hour, from oldest to newest - The hour may be in the same or in the next line 0 - Quits 2 arrays (tasks and hours) - The arrays should be able to hold 10 tasks - counter - The counter shows the number of tasks in the arrays - Main function: loop forever accepting commands - Use the code provided in lab 1 - Add 3 new functions: - insert - list - list_hourStep 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