I am working on an assignment for a class but for some reason * does not work. I keep getting an error saying "error C2676: binary '*' : 'std::string' does not define this operator or a conversion to a type acceptable to the predefined operator"
Can anyone help me figure this out? Here is my code I am using Visual Studio 2012.
#include <iostream>
#include <string>
using namespace std;
int main(){
string value;
double propertyTax = .6;
float assessment;
assessment = value * propertyTax;
cout << "What is the property value?" << endl;
getline(cin, value);
cout << "The assessment value for land worth $" << value << " is $" << assessment << endl;