Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~351 People Reached
Favorite Forums
Favorite Tags
c++ x 9
Member Avatar for blackbyron

Hello, I am writing a program about gas pump. Here is my code [ICODE]class GasPump{ public: GasPump();// loads all pumps w/ 50 gallons, price is 2.00, 2.25, 2.50 GasPump(int l, int m = 100, int h = 100); //price is 2.00, 2.25, 2.50 GasPump(double pl, double pm, double ph); // …

Member Avatar for blackbyron
0
104
Member Avatar for blackbyron

Hello, i have a question for my C++ program. void GasPump::setHighGal(int gallons){ gallons = 0; } void GasPump::setMedGal(int gallons){ gallons = 0; } void GasPump::setLow(int gallons){ gallons = 0; } Those functions will sets the quantity of gas in the indicated tank to parameter value,resets total cash for that type …

Member Avatar for blackbyron
0
94
Member Avatar for blackbyron

Hello guys, I am new to this forum and I'm going to put my code here. [code=cplusplus] #include <iostream> #include <string.h> using namespace std; const int MAX_ACCOUNT = 12; const int zero = 0; bool validAcctNumber(int acctNum, int size); bool checkAccountUsed(int acctNum, double check[]); bool saveAccountUsed(int acctNum, double save[]); void …

Member Avatar for blackbyron
0
137
Member Avatar for blackbyron

Hello, I'm blackbyron and I'm a programming logic noob.

0
16