Programming assignment
Closed
jefry
-
Oct 17, 2009 at 06:22 AM
bytelogik Posts 8 Registration date Monday October 5, 2009 Status Member Last seen November 9, 2009 - Oct 18, 2009 at 05:26 AM
bytelogik Posts 8 Registration date Monday October 5, 2009 Status Member Last seen November 9, 2009 - Oct 18, 2009 at 05:26 AM
Hello,
i have assignment in c programming that would read the cars registration numbers as three letters and numbers. These are the cars that have used the garage during one day of operation. Read the number of hours parked as hours and minutes and use a sentinel value to finish the data entry. save the registration and start stop times in a file. the problem is i dont even know how to start this one since i am new to programming language.
i hope you can help me. Thanks
kind regards,
Jefry
i have assignment in c programming that would read the cars registration numbers as three letters and numbers. These are the cars that have used the garage during one day of operation. Read the number of hours parked as hours and minutes and use a sentinel value to finish the data entry. save the registration and start stop times in a file. the problem is i dont even know how to start this one since i am new to programming language.
i hope you can help me. Thanks
kind regards,
Jefry
Related:
- Programming assignment
- Ms word chart assignment - Guide
- R programming download - Download - Programming languages
- Python programming language download - Download - Programming languages
- Sim card programming software free download - Download - Backup and recovery
- Eclipse programming download - Download - IDE
1 response
bytelogik
Posts
8
Registration date
Monday October 5, 2009
Status
Member
Last seen
November 9, 2009
12
Oct 18, 2009 at 05:26 AM
Oct 18, 2009 at 05:26 AM
If you have less time, look for simple file handling source codes. This will help you to save and retrieve data which is entered. Check out some programs using scanf statements for input of the data.
The simple steps:
1) Declare the variables
2) Get the relevant values using scanf into the variables
3) Process the variables to calculate any desired values if required.
4) Use the file handling statements to store the values. File handling requires three steps:
----Open the file
----Write the values to the file
----Close the file
If you were using VB6, then I could have helped you some more.
keep smiling.
The simple steps:
1) Declare the variables
2) Get the relevant values using scanf into the variables
3) Process the variables to calculate any desired values if required.
4) Use the file handling statements to store the values. File handling requires three steps:
----Open the file
----Write the values to the file
----Close the file
If you were using VB6, then I could have helped you some more.
keep smiling.