Lab 02 - Structs
Lab 02 - Structs
Spring 2022
Issue Date: August 25, 2022
LAB-02
Instructions!
1. Please follow dress code before coming to the lab. Keep your student identity cards with you.
2. This is an individual lab, you are strictly NOT allowed to discuss your solutions with your fellow
colleagues, even not allowed asking how is he/she is doing, it may result in negative marking. You
can ONLY discuss with your TAs or with me.
3. Strictly follow good coding conventions (commenting, meaningful variable and functions names,
properly indented and modular code.
4. Save your work frequently. Make a habit of pressing CTRL+S after every line of code you write.
5. Beware of memory leaks and dangling pointers.
Session: 2018-2022
Section: Morning
Department: Department of Software Engineering, Old Campus.
Call each of these functions in menu based main( ) program to demonstrate your work. Use appropriate
prompts for input and output to make your program easy to use. Furthermore, do input validation where
required.