Question: C BASIC Programming Write a C Program for the following: A multiple-choice examination consists of 20 questions. Correct answer 4 points Wrong answer -1 point

C BASIC Programming

Write a C Program for the following:

A multiple-choice examination consists of 20 questions.

Correct answer 4 points Wrong answer -1 point No answer 0 points (marked by X) .

Write a c (basic) program to process the data in the file input.txt and print a report that shows:

1. Student number

2. marks

3. Total number of examination marked: (a)Question no. & (b)correct answers

sample input:

BACCDEABCEEDCDABBAED 6734 BXCCDAABCEEDCDACBAED 7843 BADCXAABCEXXCDABBAED 2223 BCBAEACCDAEDCDABBAEA 2324 BACXDEABCEEDCDAABAED 3474 BACCDEABCEEDCDABBAED 3434 XADCDAABCEEDCDABBAED 6374 XXXXXCXXXXXXXXXXXAED 3332 BADCDEABCEEDCDADBCEX 3454 BACCXEABCEEDCXABBAED 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!