#include #include using namespace std; int main() { string mystr; float price = 0; int quantity = 0; cout<<"Enter price: "; getline(cin, mystr); stringstream(mystr)>>price; cout<<"Enter Quantity: "; getline(cin, mystr); stringstream(mystr)>>quantity; cout<< "Total Price : "<< (price*quantity) << "\n"; return 0; }