- #import <math.h>
- #import <stdio.h>
- #import <Foundation/Foundation.h>
- #import <string.h>
- #define NAME_SIZE 40
- #define POSITION_SIZE 40
- //structs of Employee, list of employees, the expense of employees and the list of goods
- typedef struct{
- int ID;
- char Name [NAME_SIZE];
- char Position [POSITION_SIZE];
- double Salary;
- }Employee;
- //typedef struct {
- // int ID;
- // int lenght;
- //int Count;
- //}EmployeeList;
- //struct Expense{
- // int ID;
- //char Description;
- //double Cost;
- //};
- //struct ExpenseList{
- // int Lenght;
- // int Count;
- //};
- int main() {
- Employee n = {1,"shaun","management", 20000};
- print_Employee(n);
- return 0;
- }
[text] needs name
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
Editor
You can edit this paste and save as new: