انشاء نظام بلغة c++ باستخدام السجلات لادخال ببانات 10 موظفين مع ارقامهم ورواتبهم مع امكانية اختيار المستخدم ويظهر للمستخدم رسائل توضحية للاختيار 1- دالة ادخال البيانات للموظفين في السجلات 2- دالة طباعة بيانات الموظفين من السجلات 3- دالة للبحث عن موظف داخل السجلات 4- دالة للبحث عن اكبر قيمة داخل السجلات 5- دالة لترتيب الموظفين حسب اكبر راتب
#include <iostream> #include <conio.h> using namespace std; struct employee { string name; int id; double salary; }; int main() { employee employees[10]; void display(employee[]); void enter(employee[]); void displayEmployee(employee[]); void search(employee[]); void sort(employee[]); int option; enter(employees); do { cout << "\n\n\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tWelcome to the Employees System\n\n\n\n"; cout << "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t1 - Enter the Employees Data\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t