#include <iostream>
#include <limits>

using namespace std;

int main() {
    double pounds, kg;
    char option;

    cout << "WEIGHT CONVERSION OPTIONS \n" << "     " << "A) KG to pounds: \n" << "     " << "B) Pounds to KG: \n " <<"Enter option A or B: \n";
    cin.get(option);

    if(option == 'A') {
        cout << "Enter a weight in lbs: ";
        cin >> pounds;
        kg = pounds*2.2046;
        cout << "Your weight in kg is: " << kg;
    }
    else if(option == 'B') { 
        cout << "Enter a weight in kg: ";
        cin >> kg;
        pounds = kg/2.2046;
        cout << pounds;
    
    }
    std::cin.ignore(std::numeric_limits<std::streamsize>::max(),'\n');
    std::cin.get();
}