Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Vaccines produced during the Covid-19 period will be shot according to the established rules. Those who come for vaccination are registered in hospitals. Rules are

Vaccines produced during the Covid-19 period will be shot according to the established rules. Those who come for vaccination are registered in hospitals. Rules are entered into the system by the administrator.
Rules prepared according to a-age range will be recorded in a one-dimensional array. Ex. If the first value entered in the array is 85, priority is the ones older than that age. If the second entered is 65, the second priority is the age range of 65-85. 7 rules like this will be determined. Age ranges are up to you.
b-During registration, the person's TC number, name, surname, age, address are entered. The vaccine sequence number is calculated automatically according to the age range. Ex. If the priority order is 1, adding 1 to the order number, if the priority order is greater than 3, the order number should be multiplied by 3 and added by 10. The sequence number is initially 1. Priority order must also be entered in the registry.
c- In the field of vaccination, the nurse enters the next number into the system and calls the persons registered in the system. The nurse enters the tc, body temperature and order number of the incoming person into the system. After entering the system how many doses of vaccine is available, it calls the next person in line and progresses the process.
As soon as the sequence numbers are over, the vaccine reports of that day are also forwarded to the head doctor. 2 separate reports are given. In the first report, the information of the people taking the line number, and the second report, the tc, body temperature and sequence number of the vaccinated person are given. Write the program in C language.

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

What is DDL?

Answered: 1 week ago