Q.5 Systematic and structured recording of purchased equipment is one important aspect of managing an electronic engineering (EE) laboratory. As a graduate engineer, you are requested to develop a program for the EE laboratory management system to record all purchased electronic components and equipment. The program should equip with the following features: (i) A selection menu: Electronic component information data entry: the electronic component name, the supplier name, total unit, and price per unit in Malaysia Ringgit (RM). Display all recorded data with detailed information. List out the electronic component based on entered supplier name. (ii) The selection is repeated until the user requests to exit the system. (iii) Use struct to group the main information as stated in (i). Figure Q.5 shows the sample user screen of the program. Based on the given requirements, answer the following questions: a) Sketch a flowchart solution according to the given specifications. b) Solve the problem by developing a C program of main() based on the flowchart derived in question Q5(a). ++++++WELCOME TO ELECTRONIC LABORATORY+++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 1 Enter component name: Resistor Enter supplier name: GoldenTM Enter total unit : 50 Enter price per unit (RM): 12.5 ++++++WELCOME TO ELECTRONIC LABORATORY++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 3 Enter supplier name: GoldenTM Component Resistor Total 50 Price (AM) 12.50 +++WELCOME TO ELECTRONIC LABORATORY++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 2 you have entered the following information Component Resistor Supplier GoldenTM Total 50 Price (RH) 12.50 ++++++WELCOME TO ELECTRONIC LABORATORY+++*** 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 4 Process returned (0x0) Press any key to continue. execution time: 230.826

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
100%
Q.5 Systematic and structured recording of purchased equipment is one important aspect of managing
an electronic engineering (EE) laboratory. As a graduate engineer, you are requested to develop
a program for the EE laboratory management system to record all purchased electronic
components and equipment. The program should equip with the following features:
(i) A selection menu:
Electronic component information data entry: the electronic component name, the
supplier name, total unit, and price per unit in Malaysia Ringgit (RM).
Display all recorded data with detailed information.
List out the electronic component based on entered supplier name.
(ii) The selection is repeated until the user requests to exit the system.
(iii) Use struct to group the main information as stated in (i).
Figure Q.5 shows the sample user screen of the program. Based on the given requirements, answer
the following questions:
a) Sketch a flowchart solution according to the given specifications.
b) Solve the problem by developing a C program of main() based on the flowchart derived in
question Q5(a).
++++++WELCOME TO ELECTRONIC LABORATORY+++
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 1
Enter component name: Resistor
Enter supplier name: GoldenTM
Enter total unit : 50
Enter price per unit (RM): 12.5
++++++WELCOME TO ELECTRONIC LABORATORY++
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 3
Enter supplier name: GoldenTM
Component
Resistor
Total
50
Price (AM)
12.50
+++WELCOME TO ELECTRONIC LABORATORY++
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 2
you have entered the following information
Component
Resistor
Supplier
GoldenTM
Total
50
Price (RH)
12.50
++++++WELCOME TO ELECTRONIC LABORATORY+++***
1. Add component informations
2. Display component informations
3. List the component by supplier
4. Exit
Choose one of the above options: 4
Process returned (0x0)
Press any key to continue.
execution time: 230.826
Transcribed Image Text:Q.5 Systematic and structured recording of purchased equipment is one important aspect of managing an electronic engineering (EE) laboratory. As a graduate engineer, you are requested to develop a program for the EE laboratory management system to record all purchased electronic components and equipment. The program should equip with the following features: (i) A selection menu: Electronic component information data entry: the electronic component name, the supplier name, total unit, and price per unit in Malaysia Ringgit (RM). Display all recorded data with detailed information. List out the electronic component based on entered supplier name. (ii) The selection is repeated until the user requests to exit the system. (iii) Use struct to group the main information as stated in (i). Figure Q.5 shows the sample user screen of the program. Based on the given requirements, answer the following questions: a) Sketch a flowchart solution according to the given specifications. b) Solve the problem by developing a C program of main() based on the flowchart derived in question Q5(a). ++++++WELCOME TO ELECTRONIC LABORATORY+++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 1 Enter component name: Resistor Enter supplier name: GoldenTM Enter total unit : 50 Enter price per unit (RM): 12.5 ++++++WELCOME TO ELECTRONIC LABORATORY++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 3 Enter supplier name: GoldenTM Component Resistor Total 50 Price (AM) 12.50 +++WELCOME TO ELECTRONIC LABORATORY++ 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 2 you have entered the following information Component Resistor Supplier GoldenTM Total 50 Price (RH) 12.50 ++++++WELCOME TO ELECTRONIC LABORATORY+++*** 1. Add component informations 2. Display component informations 3. List the component by supplier 4. Exit Choose one of the above options: 4 Process returned (0x0) Press any key to continue. execution time: 230.826
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar 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