Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

nphuongsun93

  • 3 years ago

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

  • This Question is Closed
  1. rsmith6559
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    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.

  2. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy