Need help with program!

This is a discussion on Need help with program! within the C Programming forums, part of the General Programming Boards category; Here's the problem... Using the emacs editor create a file called testdata9 that contains 5 positive integer values. write a ...

  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
    Katy, Texas
    Posts
    2,309
    Can you write a Hello World program?
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  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, 11:04 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21