fix minor latex issues

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-12-26 16:30:38 +05:30
parent ad185c994e
commit 21afaa311b
7 changed files with 64 additions and 37 deletions

View File

@@ -35,9 +35,6 @@ void Student::input() {
cout << "Gender (m/f): ";
cin >> this->gender;
if (this->gender != 'm' || this->gender != 'f')
exit(1);
cout << "Enter Marks for" << endl;
for (i = 0; i < NSUBS; i++) {
@@ -64,6 +61,8 @@ int main() {
for (i = 0; i < NSTUDENTS; i++)
a[i].input();
cout << "\nStudents with percentage greater than 70:\n";
for (i = 0; i < NSTUDENTS; i++)
if (a[i].getPercentage() > 70)
cout << a[i].getName() << endl;