This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
const int MAX_PRODUCTS = 100; | |
class Final_Project { | |
private: | |
string product_name[MAX_PRODUCTS]; | |
int quantity[MAX_PRODUCTS]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
const int MAX_PRODUCTS = 100; | |
class Final_Project { | |
private: | |
string product_name[MAX_PRODUCTS]; | |
int quantity[MAX_PRODUCTS]; | |
double price[MAX_PRODUCTS]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class Final_Project{ | |
private: | |
//declaration of variables that will be used | |
string product_name; | |
int quantity; | |
double prize; | |
string user_name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class Bank { | |
public: | |
double initial_Amount, serviceFee; | |
int amount, withdraw; | |
double Compute () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class Bank { | |
public: | |
double initial_Amount, serviceFee; | |
int amount, withdraw; |