OneCompiler

My_info_io.cpp

1627

#include <iostream>
#include <string>
#include<cstdlib>
using namespace std;

int main(){
string FullName, Address, Birthdate;
string ElementarySchool, Highschool, College;

     cout<<" ==== PERSONAL INFORMATION ==== "<<"\n";
     cout<<"FullName: ";
     getline(cin ,FullName) ;
     cout<<"Address: ";
     getline(cin ,Address);
     cout <<"Birthdate: ";
     getline(cin ,Birthdate);
  
  system("cls"); 


     cout <<" ==== EDUCATIONAL BACKGROUND ==== "<<"\n";
     cout <<"Elementary School: "<<"";
     getline(cin , ElementarySchool) ;
     cout << "High School: ";
     getline(cin ,Highschool) ;
     cout << "College: ";
  getline(cin , College) ;
  
  system("cls");

cout << " ==== Displaying Information ====" << endl;
cout << "FullName: " << FullName << endl;
cout << "Address: " << Address << endl;
cout << "Birthdate: " << Birthdate << endl;
cout << "Elementary School: " << ElementarySchool << endl;
cout << "Highschool: " << Highschool << endl;
cout << "College: " << College << endl;

return 0;

}