Hi, I have a problem to code this:
Image that you have the following file presenting the following decimal values:
2 A 40.0
115.00 1.02842 5.944 10.0528 -1.656
115.00 1.01911 4.678 10.0528 177.078
11 6 100.0
115.00 1.01530 2.392 2.9097 11.933
115.00 1.00338 2.849 0.2633 37.685
115.00 1.00566 2.460 1.5274 8.387
230.00 0.99738 5.209 4.3274 -2.728
How can I code in ANSI C so that the program reads the first line, prints it ( I know this part) then reads the following 5 ( which are the values for voltages) add all of them, then goes to to the second ste of five data.
After thatthe program reads the second set of three data, print them, and reads the follwoing five, add them all and so forth.
can some help me or give me some suggestions
Thank you
B