#include &lt;iostream&gt;    #include &lt;string&gt;    #include &lt;sstream&gt;    using namespace std;    int main &#40;&#41;    &#123;        string mystr;        float price = 0;        int quantity = 0;        cout &lt;&lt; &quot;Enter price: &quot;;        getline &#40;cin, mystr&#41;;        stringstream&#40;mystr&#41; &gt;&gt; price;        cout &lt;&lt; &quot;Enter quantity: &quot;;        getline &#40;cin, mystr&#41;;        stringstream&#40;mystr&#41; &gt;&gt; quantity;        cout &lt;&lt; &quot;Total price: &quot; &lt;&lt; price * quantity &lt;&lt; endl;        return 0;    &#125;
A. 50
B. Depends on value you enter
C. Error
D. None of the mentioned
Answer:A
#include &lt;iostream&gt;    #include &lt;string&gt;    #include &lt;sstream&gt;    using namespace std;    int main &#40;&#41;    &#123;        string mystr;        float price = 0;        int quantity = 0;        cout &lt;&lt; &quot;Enter price: &quot;;        getline &#40;cin, mystr&#41;;        stringstream&#40;mystr&#41; &gt;&gt; price;        cout &lt;&lt; &quot;Enter quantity: &quot;;        getline &#40;cin, mystr&#41;;        stringstream&#40;mystr&#41; &gt;&gt; quantity;        cout &lt;&lt; &quot;Total price: &quot; &lt;&lt; price * quantity &lt;&lt; endl;        return 0;    &#125;
A. 50 B. Depends on value you enter C. Error D. None of the mentioned
Explanation:In this program, We are getting the input on runtime and manipulating the value.