// if statement

#include <iostream>
#include <cstdlib>
using namespace std;

int main()
{
	int menuChoice = 0;

	cout << "1 Books" << endl;
	cout << "2 Movies" << endl;
	cout << "3 Peanuts" << endl;
	cout << "Enter your choice: ";
	cin >> menuChoice;

	if (menuChoice == 1)  
	{
		cout << "You owe $9 for 1 book" << endl;
	}
  	else if (menuChoice == 2)
	{
		cout << "You owe $14.99 for 1 movie" << endl;
	}
	else if (menuChoice == 3)
	{
		cout << "You owe $1.30 for 1 lb of peanuts" << endl;
	}
	else
	{
		cout << "Invalid input." << endl;
	}

	system("pause");

	return 0;
}// end of main

