c++ help sorting user input?

Whats the c++ code for this question ?
Part II
You have several pictures of different sizes that you would like to frame. A local picture-framing store offers tow types of frames – regular and fancy.
The frames are available in white and can be ordered in any color the customer desires. Suppose that each frame is 1 inch wide. The cost of coloring the frame is $0.10 per inch. The cost of a regular frame is $0.15 per inch and the cost of a fancy frame is $0.25 per inch. The cost of putting a cardboard paper behind the picture is $0.02 per square inch, and the cost of putting glass on top of the picture is $0.07 per square inch. The customer can also choose to put crowns on the corners, which costs $0.35 per crown. Write a program that prompts the user to input the following information and then output the cost of framing the picture:

a. The length and width, in inches, of the picture.
b. The type of the frame.
c. Customer's choice of color to color the frame.
d. If the user wants to put the crowns, then the number of crowns.

I dont know how to sort user input and need help with it.

My program so far:
#include <iostream>
#include <iomanip>
#include <cmath>

using namespace std;

int main ()
{
int frameTypeR = 0;
int frameTypeF = 1;
int clrChangeN = 0;
int clrChangeY = 1;

int crownAmt = 0.0;
double picL = 0.0;
double picW = 0.0;
double Perimeter = 0.0;
double Area = 0.0;
double frameColotT = 0.0;
double frameTypeT = 0.0;
double cardBoardT = 0.0;
double glassT = 0.0;
double crownCostT = 0.0;
double totalCost = 0.0;

cout << "Please enter the length of the picture in inches: ";
cin >> picL;

cout << "Please enter the width of the picture in inches: ";
cin >> picW;

cout << "Please indicate type of frame with a capital R for regular, or a capital F for fancy.: ";


cout << "Would you like to color the frame? Captial Y for yes, capital N for no. ";



cout << "How many crowns would you like to put: ";
cin >> crownAmt;

cout << endl;

The area im having problems with is the regular/fancy frame area and the color frame or no color frame area. Im guessing you have to use an if then statement but i dont know if you use that for sure or how to set it up in this situation.
Also can you please make sure everything else looks ok so far?

Thanks.
Topic archived. No new replies allowed.