/* THIS CODE HAS BEEN TESTED AND IS FULLY OPERATIONAL. Problem Statement: Write a C++ program that creates an output file, writes information to it, closes the file and open it again as an input file and read the information from the file. Code from Object Oriented Programming (SPPU - Second Year - Computer Engineering - Content) repository on KSKA Git: https://git.kska.io/sppu-se-comp-content/ObjectOrientedProgramming */ // BEGINNING OF CODE #include #include using namespace std; class Employee { string name; int identity; double salary; public: void accept() { cout<>identity; cout<<"Enter salary (in Rs.):\t"; cin>>salary; } void display() { cout<>n; for(i=0;i>n; for(i=0;i