micheqn3 / disney-receipt-generator

Simple C++ program that generates transaction receipts for Disneyland guests, including the ticket number, the amount they paid with, and their change from the transaction.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License: MIT

Disney Receipt Generator

This repository contains a simple C++ program that generates a transaction receipt for guests after they purchase a one-day Disneyland ticket. The generated receipt will contain the purchase information, which includes the user's name, amount they paid, their randomly generated ticket number between 1-100, and their change.

Installation

  1. Clone this repo

HTTPS: https://github.com/micheqn3/disney-receipt-generator.git
SSH: git@github.com:micheqn3/disney-receipt-generator.git

  1. Compile the file using g++

g++ -o main main.cpp

  1. Run the file

./main

This repository contains:

  • main.cpp - This file contains the source code

Technologies/Languages used:

  • C++

Screenshot

License

MIT

About

Simple C++ program that generates transaction receipts for Disneyland guests, including the ticket number, the amount they paid with, and their change from the transaction.

License:MIT License


Languages

Language:C++ 100.0%