I have an assignment, I can't seem to figure how get it going.
Basically allows the user to input the amount of pens they want
to order and in accordance with the chart, the sales price changes.
// week 2 ilab 1 - pen pricer.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int price = 0.0;
int productAmount = 0;
if (productAmount >0||productAmount<51)
price = myCircle.price1;
if (productAmount >50||productAmount<101)
price = myCircle.price2;
if (productAmount>100||productAmount<500)
price = myCircle.price3;
if (productAmount > 499)
price = myCircle.price4;
// Final Price/Math
cout << "You have chosen "<< productAmount <<" pens.";
cout <<" At "<< price <<"cents each.";
cout << "Your total comes up to: $" << productAmount * price;