#include <iostream>
#include <iomanip> // for output formatting
#include <string>
using namespace std;
int main() {
// Employee profile variables with appropriate data types
string fullName;
int employeeID;
string department;
double salary;
int experience; // in years
bool isFullTime; // true = full-time, false = part-time
char gender; // 'M', 'F', or other
// Input section
cout << "Enter full name: ";
getline(cin, fullName);
cout << "Enter employee ID (numeric): ";
cin >> employeeID;
cin.ignore(); // clear buffer before getline
cout << "Enter department: ";
getline(cin, department);
cout << "Enter salary: ";
cin >> salary;
cout << "Enter years of experience: ";
cin >> experience;
cout << "Is the employee full-time? (1 for Yes, 0 for No): ";
cin >> isFullTime;
cout << "Enter gender (M/F/O): ";
cin >> gender;
// Output section with formatting
cout << "\n--- Employee Profile ---" << endl;
cout << left << setw(20) << "Full Name" << ": " << fullName << endl;
cout << left << setw(20) << "Employee ID" << ": " << employeeID << endl;
cout << left << setw(20) << "Department" << ": " << department << endl;
cout << left << setw(20) << "Salary" << ": " << fixed << setprecision(2) << salary << endl;
cout << left << setw(20) << "Experience (years)" << ": " << experience << endl;
cout << left << setw(20) << "Full-time Status" << ": " << (isFullTime ? "Yes" : "No") << endl;
cout << left << setw(20) << "Gender" << ": " << gender << endl;
return 0;
}