fix minor latex issues
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user