Question: URGENT PLS SOLVE AS SOON AS POSSIBLE Write a C program that allows a user to decide whether he/she can visit a place based on

URGENT PLS SOLVE AS SOON AS POSSIBLE

Write a C program that allows a user to decide whether he/she can visit a place based on the number of COVID cases in that region. Prepare a structure having 5 places to visit like mall, cinema, market, temple and college. Store the record of number of Covid positive cases for the last five days (Array of structures).

a. The program will start with zero records and will initially ask the user whether they want to enter a record for a place. If yes, then the program will add the record to the current database of records (use dynamic memory allocation). If no, then the program should show the user all the records currently stored in the database.

b. Write a function that will take as input a place and will output the whether he can visit the place or not based on the total cases in that region in the last five days.

EDIT: u can Take Data As Per Your Convenience

NOTE: PLEASE ANSWER IN C LANGUAGE PLEASE USE COMMENTS WHENEVER REQUIRED IN CODE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!