Given the input file mark.txt which contain of student information such as student ID including 3 marks from their 3 subjects as shown below. Write a complete C program with the functions to convert student's mark into Pass(P)/Fail(F) status then counts the total number of Pass(P)/Fail(F). Grade is based on this range Mark >- 60 Pass (P) Mark < 60 Fail (F) Content of input file mark.txt 2021011 75 54 36 2021012 65 63 81 2021013 47 87 64 2021014 58 63 77 2021015 83 55 48 2021016 68 63 54 2021017 75 47 82 2021018 85 67 72 2021019 55 57 59 2021020 74 63 81 An output samples Stud ID I 1 2 3 P F ---------- 2021011 | P FFI 1 2 2021012 | P PPI 30 2021013 | FPPI2 1 2021014 | F PPI 2 1 2021015 | P FFI12 2021016 | P P FI 2 1 2021017 | P FPI 21 2021018 | P PPI 30 2021019 | F FFI0 3 2021020 | P P PI 30 Subject 1 : P (7) F(3) Subject 2 : P(6) F(4) Subject 3 : P (6) F(4)

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
5:50 1
ll 4G C
( SECP1103-6 SKE C Program mark.txt
2021011 75 54 36
2021012 65 63 81
2021013 47 87 64
2021014 58 63 77
2021015 83 55 48
2021016 68 63 54
2021017 75 47 82
2021018 85 67 72
2021019 55 57 59
2021020 74 63 81
Transcribed Image Text:5:50 1 ll 4G C ( SECP1103-6 SKE C Program mark.txt 2021011 75 54 36 2021012 65 63 81 2021013 47 87 64 2021014 58 63 77 2021015 83 55 48 2021016 68 63 54 2021017 75 47 82 2021018 85 67 72 2021019 55 57 59 2021020 74 63 81
Given the input file mark.txt which contain of student information such as student ID
including 3 marks from their 3 subjects as shown below. Write a complete C program with the
functions to convert student's mark into Pass(P)/Fail(F) status then counts the total
number of Pass(P)/Fail(F).
Grade is based on this range
Mark >- 60 Pass (P)
Mark < 60 Fail (F)
Content of input file mark.txt
2021011 75 54 36
2021012 65 63 81
2021013 47 87 64
2021014 58 63 77
2021015 83 55 48
2021016 68 63 54
2021017 75 47 82
2021018 85 67 72
2021019 55 57 59
2021020 74 63 81
An output samples
Stud_ID | 1 2 3 | P F
2021011 | P F FI1 2
2021012 | PP P| 3 0
2021013 | FP PI 2 1
2021014 | F PPI 2 1
2021015 | PFFI 1 2
2021016 | P PFI 2 1
2021017 | PF PI 2 1
2021018 | PP PI 30
2021019 | FFFI0 3
2021020 | P PPI 30
----
----
Subject 1 : P(7) F(3)
Subject 2 : P (6) F(4)
Subject 3 : P(6) F(4)
Transcribed Image Text:Given the input file mark.txt which contain of student information such as student ID including 3 marks from their 3 subjects as shown below. Write a complete C program with the functions to convert student's mark into Pass(P)/Fail(F) status then counts the total number of Pass(P)/Fail(F). Grade is based on this range Mark >- 60 Pass (P) Mark < 60 Fail (F) Content of input file mark.txt 2021011 75 54 36 2021012 65 63 81 2021013 47 87 64 2021014 58 63 77 2021015 83 55 48 2021016 68 63 54 2021017 75 47 82 2021018 85 67 72 2021019 55 57 59 2021020 74 63 81 An output samples Stud_ID | 1 2 3 | P F 2021011 | P F FI1 2 2021012 | PP P| 3 0 2021013 | FP PI 2 1 2021014 | F PPI 2 1 2021015 | PFFI 1 2 2021016 | P PFI 2 1 2021017 | PF PI 2 1 2021018 | PP PI 30 2021019 | FFFI0 3 2021020 | P PPI 30 ---- ---- Subject 1 : P(7) F(3) Subject 2 : P (6) F(4) Subject 3 : P(6) F(4)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY