Yousif13
Member
- تاريخ التسجيل
- 26 مارس 2012
- المشاركات
- 9
- المجموعة
- ذكر
- الدفعة الدراسية
- 2011
- الكلية
- كلية تقنية المعلومات
- التخصص
- Computer Engineering
ابي احد يساعدني في هالسؤال
Assignment # 3.B (Lab Assignment)
Struct (Records)
PART(A)
PART(B)
Write a main program to test your functions.
Assignment # 3.B (Lab Assignment)
Struct (Records)
PART(A)
- Write the definition of a structure type named nameType, which includes the following components: firstName and lastName.
- Write the definition of a structure type named dateType, which include the following components: day, month, and year;
- Write the definition of a structure type named personalInfoType, which include the following components: ID of type long, name of type nameType, , and DateOfBirth of type dateType.
- Write a function named getData that take as parameter:
- Employees: an array of type personalInfoType.
- numEmployee: number of items in the Employees array.
- Write a function named printData that take as parameter:
- Employees: an array of type personalInfoType.
- numEmployee: number of items in the Employees array.
- Write a function named bornSameYearMonth that take as parameter:
- Employees: an array of type personalInfoType.
- numEmployee: number of items in the Employees array.
- Emp1: of type personType.
PART(B)
Write a main program to test your functions.

