21 C:\Users\Joanne Perez\Desktop\yes.cpp initializing argument 1 of `std::_Ios_Fmtflags std::ios_base::setf(std::_Ios_Fmtflags, std::_Ios_Fmtflags)'
^ that's what my compiler said after reading
this: cout.setf(0, ios::floatfield);
what should I do? Is there an alternative or something?
cout << "Input 's' to convert from scientific notation to decimal." << endl;
cout << "Input 'd' to convert from decimal to scientific notation: ";
cin >> check;
if (check == 's'){
cout << "Please enter the scientific notation: " << endl;
cout << "eg: 1.0e-10";
cin >> input;