#include <stdio.h>
#include <string.h>
struct Employee{
char name[90];
int age;
double salary;
char department[90];
float YOS;
};
int main() {
struct Employee s1 ={"jivin", 18, 50000, "mechanical", 9};
printf("name=%s \nage=%d \nsalary=%.2lf \ndepartment=%s \nYOS=%.2f", s1.name,s1.age,s1.salary,s1.department,s1.YOS);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: