Git Product home page Git Product logo
G. C. Jana photo

gopaljana11 Goto Github PK

followers: 0.0 following: 0.0 repos: 4.0 gists: 1.0

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

music-store_cd-billing_c_-plus_plus-code icon music-store_cd-billing_c_-plus_plus-code

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.