Suppose that you have the following statements: string str, str1, str2; cin >> str1 >> str2; if (str1 == str2)     str = str1 + " = " + str2;  else if (str1 > str2)    str = str1 + " > " + str2;...


Suppose that you have the following statements:


string str, str1, str2;


cin >> str1 >> str2;


if (str1 == str2)


    str = str1 + " = " + str2;


 else if (str1 > str2)    str = str1 + " > " + str2;


 else    str = str1 + " <>


 Answer the following questions. (11)


a. What is the value of str if the input is Temporary Storage?


b. What is the value of str if the input is Main Memory? c. What is the value of str if the input is run!


run!?




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here