Name: G. C. Jana
Type: User
Company: Indian Institute of Information Technology, Allahabad
Bio: Gopal Chandra Jana currently pursuing PhD in the Department of Information technology at Indian Institute of Information Technology, Allahabad (IIIT-A). He was
Location: Allahabad, UP, India
Blog: http://gcjana.in/
G. C. Jana's Projects
Sample dataset
Assignment:
Assignment: Jerry Matthews is the owner of a small start-up music store called MusicWorld. The store sells music CDs, among the other things. Jerry plans to eventually develop a sales transaction processing system that allows him to enter data for a CD purchase and output vital information such as quantities, prices, subtotal, tax, and total price. Jerry is a beginning programmer, so he plans to develop the system one small step at a time. To start with, Jerry needs a program that asks the cashier to enter this vital information about the single CD title being purchased: the identification code, the title, the price, and the quantity. In addition to displaying these data to the user, the program will display the subtotal (price times quantity) for each CD title and the total (subtotal plus tax) for all CD titles. The sales tax rate is 6.25%. Jerry realizes that he will eventually need to add much more functionalities than processing the sale of just one CD title, but he plans to get this much to work before adding various enhancements. He now wants a function of forming the unique ID number for each transaction. This will help in receiving the variable that holds the complete date and time information of the transaction. It also manipulates the date into the desired format of the transaction ID. It holds a 24-hour date and time that looks like: “DD/MM/YY HH:MM:SS TMZ” for example“13/08/2018 13:00:00 EST”is equivalent to August 13, 2018 1:00PM EST. Determine Class and object. For each object, determine its attributes and methods. Write simple code in C++ for printing appropriate value for identified class instances.