Home >>  Computer Science  >>  cd transaction system

Cd transaction system
| Views: 3935


 

  • Do you want to do this project?

  • Name:   
  • Email:     
  • Phone:   
7. CD Return System This module has one main function: Return CD = Accept the CD Number · CD Number must be an existing CD Number (should be existing in cd.txt file and also in custcd.txt file) · When an invalid CD Number is entered, display an error message and ask the user to re-enter the CD Number. · If a valid CD number is entered, display the CD Title pertaining to the CD Number. · If the CD Number is valid and already returned then display an appropriate error message. = Display the Customer name who has taken the particular CD. = Display the Issue Date of given CD = Display the Return Date(use function fnGetCurrentDate(char acCurrDate[])), it should be current date (Date Functions will be provided) = Display the Amount to be paid by the given customer. · Find the number of days between Issue Date and Return Date( use function fnGetDateDiff(char acIssueDate[],char acReturnDate[])) · Calculate the Amount to be Paid based on number of days (Hint :( Current date - Issue Date)* 20 = ________ Rs/-) · If the customer returns the CD on the same day then by default the Amount must be 20 Rs/- = Update CD Status in both cd.txt and custcd.txt · Update status as ‘A’ for Availability in cd.txt file · Update status as ‘R’ for Returned along with the returned Date in custcd.txt file = On successful Return, the control should return to the “CD Return System Screen” after displaying a message “CD Returned Successfully”
Vote: Tell A Friend
Reply With Quote  

 

  
Explain the project clearly

Quote by --project

Reply With Quote   Reply With Quote
Page 1 of 1