Structure
1. Input student Name, Rollno, Branch, Age and telephoneno as a record through structure and display all the information.
2. Input Name, Degignation, Basic Salary of employee into the employee record and calculate
TA = 55% of Basic
DA = 65% of Basic
HRA = 35% of Basic
PF = 12% of Basic
Also calculate Group Salary and net salary
a) Use Array to structure to input minimum 3 records (3 persons data) and display all the records sequentially.
b Use pointer to structure to input minimum 3 records (3 persons data) and display all the records sequentially.
3. Input your date of Birth and current date through structure and calculate your age in Year, Month and days assume that 1 year = 365 days and 1 month = 30 days.
4. Create a student structure having data members roll, class & address, mark structure having data members roll, sub1, sub2, sub3 and a student detail structure having data members roll, class total marks, no of subject pass & overall pass. Those students who have appeared the exam, their information only stored in the mark structure array. Write a program which will collect the information & fill the data in student detail array depending on the pass criteria.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment