Question: Given a file named students.txt containing unknown number of lines. Each line consists of student's name (stri
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question: Given a file named students.txt containing unknown number of lines. Each line consists of student's name (stri
Question: Given a file named students.txt containing unknown number of lines. Each line consists of student's name (string), mark (double), and gender (M for male and F for female). Write a program that reads the content of the input file, find and display on the screen total number of females students with marks greater than 80.00. Sample output Input file: students.txt Musa 65.0 M Huda 87.5 F May 72.25 F Yahya 66.70 M Number of females with marks above 80.00 is XXXX Isa 94.5 M