0% found this document useful (0 votes)
4 views7 pages

Employee, Student, and Product Data Arrays

The document outlines the creation of various arrays to store data for employees, students, and products. It specifies the types and names of arrays, such as strings for names and jobs, integers for salaries and marks, and booleans for marital status. Each section includes instructions for printing the values of these arrays.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views7 pages

Employee, Student, and Product Data Arrays

The document outlines the creation of various arrays to store data for employees, students, and products. It specifies the types and names of arrays, such as strings for names and jobs, integers for salaries and marks, and booleans for marital status. Each section includes instructions for printing the values of these arrays.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Store Employees Data

1. Create 5 elements string array with name EmpName, store Employee name and print
array values.

Output
2. Create 5 elements integer array with name Empsalary, store salaries and print array
values.

Output
3. Create 5 elements character array with name Empdept , store dept codes and print
array values.

Output
4. Create 5 elements byte array with name Empage , store ages and print array values.

Output
5. Create 5 elements string array with name EmpJobs , store jobs and print arrays values.

Output
6. Create 5 elements Boolean array with name empStatus , store emp’s marital status and
print array values.

OutPut
Store Students Data

1. Create 5 elements string array with name studentsName , store students name.
2. Create 5 elements string array with name city, store student cities name.
3. Create 5 elements string array with name course, store students courses names.
4. Create 5 elements int array with name marks, store students marks. 5. Create 5
elements ushort array with name fees, store students fees.
6. Create 5 elements string array with name contacts, store students contacts. Store
Products Data

1. Create 5 elements int arrays with name productId, store products ID.
2. Create 5 elements string array with name productsname , store product names.
3. Create 5 elements int with name productPrice , store product prices.

You might also like