Hi, i'm very new to C++ and I am trying to write a program where a user chooses between two devices, one costing $90 and the other costing $95. The user inputs either w or s, indicating which device they want, and I want to be able to assign the value of either 90 or 95 to the respective device in order to later be able to calculate tax as well as a discount on a bulk order. Any help/suggestions/ideas would be greatly appreciated. Thank you.
#include <iostream>
#include <iomanip>
#include <cstdlib>
using namespace std;
double w = 90;
double s = 95;
int main(int argc, char const *argv[]) {
string hd_type;
cout << "Enter a hard drive type (w or s)";
cin >> hd_type;
cout << "You chose " + hd_type << endl;
return 0;
}// main