In this asignment you get the cpportunity to buld an interactive program that can manage a fst of employees in a company. The Int ih stored as an amay of employeet type structures employe temployeelist IMAX COMPANY SIZE The employee, tis a structure typedef for struct employee. The struct employee contaim the following helds name amay of MAX NAME SIZE chan (string the foat between 00 and 1.0 birthdayastructure of date t type as defned below The variable fhe indicates an employee works full-time or part-tine for a company. The value fe105 indie that an employee works full time for half-timel for the compamy Note that we now have a struct nested within a struct. The birthday is a structure typedef for struct date. The struc dute tcontalm the following held day unigned inteper between 1 and 31 (indusive

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Task
ption
Data Engineers egularty collect, procrss and store data. In this tank you will develop a deeper undentanding of howC
prpramming langage can be used for collecting procesming and storing data. In this ansignemert you pet the
cpportunity to build an interactive program that can manage a lit of employees in a company.
The Ist is stored as an amay of emplover t type structures
employee temployeelist MAX COMPANY SIZE
The employee,tle a structure typedef for struct employee. The struct employee contaim the folowing held
ame amay of MAX NAME SIZE chan string
he-a float between 00and 10
birthdaya struchure of date type as defned below.
The variable fte indicates an employee works full-time aor part-tine for a company. The value fhe10 indicates
that an emplovee works full time lor half-timel for the company.
Note that we now have a struct nested within a struct. The birthday is a structure typedef for struct date. The struct
dute tcontainn the following held
day umigned inteper between 1 and 31 inclusive
month-unigmed integer betwween 1 and 12 Gnclunive)
year unsigned integer between 1000 and 2017
Your program interact with the nested struct array in your memory RAM) and simple databane fle in your hard disk.
should provide the folowing features:
1. add employee
Add a new employee to the enployeelat theough the terminat. You should callect the ireut by anking multele quetiom
from the user.
Eter name
Eter birthday: day
Enter birthday month
Enter birthday vear
Enter FTE
2. delete last employee
Remove the lst enplovee from the employeelist TIP you canot delete an eiement from ana Instead comider
ing an nteger to keep unt of umber of employees
3. display employee list
Digtay the lint of empiloyees in the following format an shown in the sampe run. Pene fuliow the sampte utable
for the eact diay fomat, including white a
Nane irthday FTE
bee
10-01-1800 LO000
Pay atntion the stri formatting pe
Nam l
ped 10 has at mest
digh d yea
FTE-4 decil places
4. save the employee list to the database file
San e
sbiryt naed d may vour n ft the
wwrif d e dysa
5. read the employee list from the database file
Rd the d dp da y Yy mal the od
6. eait the program
E the e
The database file
r pn d d he
NOT we
Your approach
Transcribed Image Text:Task ption Data Engineers egularty collect, procrss and store data. In this tank you will develop a deeper undentanding of howC prpramming langage can be used for collecting procesming and storing data. In this ansignemert you pet the cpportunity to build an interactive program that can manage a lit of employees in a company. The Ist is stored as an amay of emplover t type structures employee temployeelist MAX COMPANY SIZE The employee,tle a structure typedef for struct employee. The struct employee contaim the folowing held ame amay of MAX NAME SIZE chan string he-a float between 00and 10 birthdaya struchure of date type as defned below. The variable fte indicates an employee works full-time aor part-tine for a company. The value fhe10 indicates that an emplovee works full time lor half-timel for the company. Note that we now have a struct nested within a struct. The birthday is a structure typedef for struct date. The struct dute tcontainn the following held day umigned inteper between 1 and 31 inclusive month-unigmed integer betwween 1 and 12 Gnclunive) year unsigned integer between 1000 and 2017 Your program interact with the nested struct array in your memory RAM) and simple databane fle in your hard disk. should provide the folowing features: 1. add employee Add a new employee to the enployeelat theough the terminat. You should callect the ireut by anking multele quetiom from the user. Eter name Eter birthday: day Enter birthday month Enter birthday vear Enter FTE 2. delete last employee Remove the lst enplovee from the employeelist TIP you canot delete an eiement from ana Instead comider ing an nteger to keep unt of umber of employees 3. display employee list Digtay the lint of empiloyees in the following format an shown in the sampe run. Pene fuliow the sampte utable for the eact diay fomat, including white a Nane irthday FTE bee 10-01-1800 LO000 Pay atntion the stri formatting pe Nam l ped 10 has at mest digh d yea FTE-4 decil places 4. save the employee list to the database file San e sbiryt naed d may vour n ft the wwrif d e dysa 5. read the employee list from the database file Rd the d dp da y Yy mal the od 6. eait the program E the e The database file r pn d d he NOT we Your approach
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Reference Types in Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education