summaryrefslogtreecommitdiff
path: root/BlankConsoleLab/BlankConsoleLab.cpp
blob: 69ebe647194bb201aefe525476a08acff6eaa9df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// BlankConsoleLab.cpp : This file contains the 'main' function. Program execution begins and ends there.
/*
Thomas Trinh
CST116
Lab 3: New York, New York
Goal: In this lab you'll be processing data about New York Yellow Taxies. You will read the data from a file and 
do some calculations. 
*/

#include <iostream>
#include <iomanip>
using namespace std;

string txtfile;
float Tfare = 0;
float CostPerMile = 0;

int main()
{
	cout << "Enter the input file name including extension (either small.txt or large.txt): ";
	cin >> txtfile;
	cout << endl;

	Tfare = fare + toll;
	if (distance = 0) {
		CostPerMile = 0;
	}
	else {
		CostPerMile = fare / distance;
	}
}