3. Let us consider the file with employees: title Mechanics Librarian Gardener name Peter Norbert ID 120 150 170 age 30 23 35 salary 12000 11000 10000 Kai Please do the following: a. create a data type (record) that contains the six(6) data fields b. print the record c. store it d. update the salary e. scan the record according to their salary f. print the data with sorting on age Group Jo, George Ann, Eli Mary, Terry

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 3PE
icon
Related questions
Question
3. Let us consider the file with employees:
title
Mechanics
Librarian
Gardener
name
Peter
Norbert
ID
120
150
170
age
30
23
35
salary
12000
11000
10000
Kai
Please do the following:
a. create a data type (record) that contains the six(6) data fields
b. print the record
c. store it
d. update the salary
e. scan the record according to their salary
f. print the data with sorting on age
Group
Jo, George
Ann, Eli
Mary, Terry
Transcribed Image Text:3. Let us consider the file with employees: title Mechanics Librarian Gardener name Peter Norbert ID 120 150 170 age 30 23 35 salary 12000 11000 10000 Kai Please do the following: a. create a data type (record) that contains the six(6) data fields b. print the record c. store it d. update the salary e. scan the record according to their salary f. print the data with sorting on age Group Jo, George Ann, Eli Mary, Terry
Expert Solution
steps

Step by step

Solved in 1 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage