tmp.c/main.cpp
Vincent Batts d3a10d7190
*: adding a threaded worker example
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2025-02-08 19:56:52 -05:00

33 lines
764 B
C++

/*
* =====================================================================================
*
* Filename: main.cpp
*
* Description:
*
* Version: 1.0
* Created: 02/08/2025 11:05:02 AM
* Revision: none
* Compiler: gcc
*
* Author: YOUR NAME (),
* Organization:
*
* =====================================================================================
*/
#include <iostream>
#include <cmath>
#include <cstdlib>
#include "account.h"
using namespace std;
int main(int argc, char* argv[]) {
Account account(0.0);
account.deposit(100.5); // Add some money
account.deposit(50.25); // Add more money
std::cout << "Current Balance: " << account.getBalance() << std::endl;
return EXIT_SUCCESS;
}