Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribed

- 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_hour

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions

Question

what is the difference between a 3PL and a 4PL?

Answered: 1 week ago