Questions: 1 978

Answers by our Experts: 1 850

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

  1. Explain all the lines
  2. /// Function + Array + Struct
  3. #include<stdio.h>
  4. struct Employee
  5. {
  6. char eName[20];
  7. int age;
  8. int exp_year;
  9. int salary;
  10. }empl[10];
  11. ///struct Employee empl[10];
  12. int i;
  13. void main()
  14. {
  15. emplinfo();
  16. printf("\n\n\n");
  17. return 0;
  18. }
  19. void emplinfo()
  20. {
  21. for(i=0; i<3; i++)
  22. {
  23. printf("\nInsert the Employee%d Name: ", i+1);
  24. scanf("%s", empl[i].eName);
  25. printf("\nEnter his/her age,exp_year and salary:");
  26. scanf("%d%d%d", &empl[i].age,&empl[i].exp_year,&empl[i].salary);
  27. }
  28. printf("\n\nThe struct information:\n");
  29. for(i=0; i<3; i++)
  30. {
  31. printf("\nThe Name of Employee%d: %s", i+1, empl[i].eName);
  32. printf("\nHis/her age: %d", empl[i].age);
  33. printf("\nHis/her exp_year: %d", empl[i].exp_year);
  34. printf("\nHis/her salary: %d", empl[i].salary);
  35. printf("\n\n");
  36. }
  37. }
  38. View assignment

1. Explain all the lines


  1. =========
  2. /// Function + Array + Struct
  3. #include<stdio.h>
  4. struct Employee
  5. {
  6. char eName[20];
  7. int age;
  8. int exp_year;
  9. int salary;
  10. }empl[10];
  11. ///struct Employee empl[10];
  12. int i;
  13. void main()
  14. {
  15. emplinfo();
  16. printf("\n\n\n");
  17. return 0;
  18. }
  19. void emplinfo()
  20. {
  21. for(i=0; i<3; i++)
  22. {
  23. printf("\nInsert the Employee%d Name: ", i+1);
  24. scanf("%s", empl[i].eName);
  25. printf("\nEnter his/her age,exp_year and salary:");
  26. scanf("%d%d%d", &empl[i].age,&empl[i].exp_year,&empl[i].salary);
  27. }
  28. printf("\n\nThe struct information:\n");
  29. for(i=0; i<3; i++)
  30. {
  31. printf("\nThe Name of Employee%d: %s", i+1, empl[i].eName);
  32. printf("\nHis/her age: %d", empl[i].age);
  33. printf("\nHis/her exp_year: %d", empl[i].exp_year);
  34. printf("\nHis/her salary: %d", empl[i].salary);
  35. printf("\n\n");
  36. }
  37. }

store your name, ID, SSC Grade, HSC Grade using linked list and display it.


Write a program to store your name, ID, SSC Grade, HSC Grade using linked list and display it.

employee record system project

you need to fulfill these requirements:

1. Nested

2. Loop (Minimum 1)

3. 2D Array

4. Function (Minimum 5)

5. Struct (Minimum 5 variables)


employee record system project in c


(1). Write a program to store your name, ID, SSC Grade, HSC Grade using linked list and display it.

(2).Write a program in C to insert a node in 2nd place and print all nodes data.


write a program which request a user to enter an amount of money .the program prints the intrest payable per year for rates of interest from 5%to 12% in steps of 0.5%.


Write an interactive C program for "BCA Student Semester-End Results" which prompts the user with the following menu options on the opening menu and performs the corresponding functionalities
Write a program which should
consists of a user defined
function “Task ()”. Pass 1D array
to the function, along with
number of elements of array
and element to search. The
Function should implement
linear search. [Note: Array
should be passed using by
reference approach]
LATEST TUTORIALS
APPROVED BY CLIENTS