Page 1 of 1

Question: Given a file named students.txt containing unknown number of lines. Each line consists of student's name (stri

Posted: Fri May 20, 2022 10:00 am
by answerhappygod
Question Given A File Named Students Txt Containing Unknown Number Of Lines Each Line Consists Of Student S Name Stri 1
Question Given A File Named Students Txt Containing Unknown Number Of Lines Each Line Consists Of Student S Name Stri 1 (18.5 KiB) Viewed 28 times
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