Ask your own question, for FREE!
Computer Science 4 Online
OpenStudy (anonymous):

File I/O C programming How do I write code so it read these things in and then add 0.5 to the numbers? input: Name Lastname 2.3 3.4 2.6 1.8

OpenStudy (rsmith6559):

First, write a little function that will open, read (loop), print and close a simple file, like the source code file. Second, deal with the linefeeds. Third, check out say, http://www.cprogramming.com and look up scanf and strtok for a couple of ways to deal with your data.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!