Professional Documents
Culture Documents
Project in ITE 103
Project in ITE 103
Submitted by:
John Mark V. Suerto
Submitted to:
Kevin V. Cebedo
#include <iostream>
#include <fstream>
#include <string.h>
main ()
ofstream file;
file.open ("Suerto.txt");
if (file.is_open())
string IDnum,LastName,FirstName,MiddleInitial,Course,Year;
file << IDnum << "\t" << LastName << "\t" << FirstName << "\t" <<
MiddleInitial << "\t" << Course << "\t" << Year<<endl;
string option;
string IDnum,LastName,FirstName,MiddleInitial,Course,Year;
file << IDnum << "\t" << LastName << "\t" << FirstName << "\t"
<< MiddleInitial << "\t" << Course << "\t" << Year<<endl;
cout << "Do you want to add another student's info? "<<endl;
file.close();
system("pause");