Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C program to read a set of scores from a text file, count the number of scores over 80, copy the scores over

image text in transcribed

image text in transcribed

Write a C program to read a set of scores from a text file, count the number of scores over 80, copy the scores over 80 into a new file, save it as 'OUTPUTFILE.DAT', and finally, print the list of number of scores over 80 on screen. Test your program with an input file (name it as 'INPUTFILE.DAT') containing the following values: 100 50 20 82 60 30 88 78 90 100 63 55 30 85 93 96 63 A sample program execution and output is depicted in Figure 5. Start of Program **** Printing scores over 80 on screen ***** 100 82 88 90 100 85 93 96 There were 8 scores over 80. End of Program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions

Question

=+2 How can the effectiveness of global virtual teams be improved?

Answered: 1 week ago

Question

=+1 What are the major issues related to international T&D?

Answered: 1 week ago