I have got this C++ code
cin>>a>>b;
getline(cin,str2);
Where a - Int,b - double and str2 - string.So when my input should be
12
4.0
best coding website
My program only takes 12 and 4 and then exits the program taking str2 as an empty string