#include <iostream>
#include <string>
#include <fstream>
usingnamespace std;
string showfirst(string, string);
int main()
{
int number;
string name;
ofstream outputFile;
do
{
outputFile.open("people.txt");
cout << "Enter the number of students\n";
cin >> number;
if (number <= 0)
cout << "You can not enter a number less than or equal to zero\n";
} while (number <= 0);
for (int studentNumber = 1; studentNumber <= number; studentNumber++)
{
cout << "Enter student name " << studentNumber << endl;
cin >> name;
}
return 0;
}