Professional Documents
Culture Documents
Faculty of Engineering
Faculty of Engineering
Student ID No : 1001644955
Objectives:
To be familiar with using structures and arrays of structures.
Provide your answer to the questions including the screen shot of your output.
Equipment/Apparatus:
Precaution:
Step 1. Analyze the problem, outline the problem and its solution requirements and
design an algorithm to solve the problem.
Step 2. Implement the algorithm (a step by step problem solving process in which a
solution is arrived at finite time) in a programming language such as c++ and verify
that the algorithm work.
Step 3. Maintain the program by using and modifying it if the problem domain
changes.
Question 1
Sample Output:
Discussion:
As we know, C Structure is collection of different data types ( variables ) which are
grouped together. Whereas, array of structures is nothing but collection of structures.
This is also called as structure array in C.
Conclusion:
In conclusion ,student should able to be familiar with using structures and arrays of
structures. Student should code it carefully and step by step to avoid error occur
during programming .