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
Ranked #44.2K
Hi I am trying to create a loop that increments a cars mileage while the fuel decreases by 1 gallon for every 24 miles. Instructions: To be able to work with the FuelGauge Object. It should decrease the FuelGauge object's current amount of fuel by 1 gallon for every 24 … |
|
#include <iostream> #include <iomanip> #include <fstream using namespace std; const char Avail = '#'; const char Taken = '*'; const int r = 15; const int c = 30; char SEATS[r][c]; int main() { // Declarations for main ifstream inputPrices; double seatPrices[15]; int row; int column; double cost; int answer; … |