lingochamp / lingochamp/FileDownloader
برنامج موظفين
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 11.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
#include
#include
#include
struct Employee {
int id;
std::string name;
std::string position;
double salary;
};
void displayEmployees(const std::vector& employees) {
for (const auto& emp : employees) {
std::cout << "ID: " << emp.id
<< ", الاسم: " << emp.name
<< ", الوظيفة: " << emp.position
<< ", الراتب: $" << emp.salary << std::endl;
}
}
int main() {
std::vector employees(10);
// إدخال بيانات الموظفين
for (int i = 0; i < 10; ++i) {
std::cout << "ادخل بيانات الموظف " << i + 1 << std::endl;
std::cout << "ID: ";
std::cin >> employees[i].id;
std::cin.ignore(); // لتجاهل الإدخال السابق
std::cout << "الاسم: ";
std::getline(std::cin, employees[i].name);
std::cout << "الوظيفة: ";
std::getline(std::cin, employees[i].position);
std::cout << "الراتب: ";
std::cin >> employees[i].salary;
}
std::cout << "\nتفاصيل الموظفين:\n";
displayEmployees(employees);
return 0;
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue contains a standalone C++ employee-management program, but it does not identify a FileDownloader file, test, entry point, or requested change. First confirm whether this report belongs in the repository; no project-specific definition of done can be determined from the payload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 1/100