How do you develop a program that will ask the user for an arbitrary starting date and an arbitrary ending date, then output, to a file named "test.dat" a line displaying the date for each day from the starting date to the ending date, inclusive?
The program has to take into account leap years.
somebody help. I have no idea how to work this out.
C programming?
May be you can contact a C programmer at website like http://programming.askexpert.info/ .
Reply:Is this for school? Cause if it is then i'm sorry but i'm not going to help you. I know how hard programming is, I just graded from University with a Diploma in Computer Systems Tech. We had to do programming in 3 different languages. The best thing for you to do is go to yout instructor or a class mate and get them to explain how to write a program instead of trying to get someone on this site wo write it for you. I'm not trying to sound mean but it would be better for you to get the help from yo instructor.
Reply:I agree, learn by doing. I'm struggling with some C programming for a class myself so I feel your pain. Best advice: break it into smaller steps. First thing, get data from user. Second, do something with the data. Eventually will have to write to a file. Start with an outline and flesh it out. Don't try to start by immediately writing code.
Reply:I could do it in Java. Sorry, I don't know any C, although I know a little C++.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment