Thread: Need help with program!

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    1

    Question Need help with program!

    Here's the problem...

    Using the emacs editor create a file called testdata9 that contains 5 positive integer values. write a c program that reads and prints all five values. each number should be read using the fscanf function embedded inside a for-loop. You should not use an array. you should a for-loop.

    ...please help i don't know how to write this. i made the file called testdata9 and put the five integers but i don't know how to write the rest of the program.

    Thankyou

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    Can you write a Hello World program?
    Mainframe assembler programmer by trade. C coder when I can.

  3. #3
    Registered User
    Join Date
    Sep 2009
    Location
    USA
    Posts
    63
    do show your code...then we can help and guide you...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

Tags for this Thread