update main.cpp.

This commit is contained in:
Xi Xu authored and Gitee committed 2023-06-24 10:59:41 +00:00
1 parent 0c479dac9c
commit 0927bd3d73
1 file changed
+2 -2
+2 -2
View File
@@ -176,7 +176,7 @@ void Menu(Administrator &admin)
cin >> input3;
if (input3)
{
cout << "Enter no.: ";
cout << "Please enter no.: ";
cin >> input2;
if (admin.erase(input2))
cout << "Deleted successfully!" << endl;
@@ -186,7 +186,7 @@ void Menu(Administrator &admin)
}
else
{
cout << "Enter name: ";
cout << "Please enter name: ";
cin >> input1;
if (admin.erase(input1))
cout << "Deleted successfully!" << endl;