Question: PLEASE I NEED HELP WITH MY C PROGRAMMING ASSIGNMENT 2 2179 13 1002 992 979 988 1012 1005 971 992 0 251 1133 1058 1072

PLEASE I NEED HELP WITH MY C PROGRAMMING ASSIGNMENT

2 2179 13 1002 992 979 988 1012 1005 971 992 0 251 1133 1058 1072 1100 1032 1101 1028 993 1091 1121 0 3 1000 1000 1001 1002 1000 999 1000 993 0 91 950 950 950 950 950 950 950 950 950 950 0 0 47 14 988 980 979 977 984 971 982 979 0 15 1211 1191 1189 1199 1202 1195 1197 1200 1204 1199 0 482 1002 1007 1001 1002 1014 999 1003 1002 1000 996 0 0

I want to input data file like this into an array and keep track of the numbers. 0 indicates the end of a set of numbers or termination. first line reads number of batches which is 2. Second line reads batch number (2179). First number indicates the name of the first set. Eg; set 13, 251,3,91. The numbers that follow the name are the elements and 0 terminates the set. Another 0 terminates the first batch. Followed by the second batch number(47).

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!