What is wrong with the following program? (10) #include                          //Line 1 using namespace  std;                   //Line 2 int...


What is wrong with the following program? (10)


#include                          //Line 1

using namespace  std;                   //Line 2


int main()                                            //Line 3


{                                                              //Line 4


    cout <><>


    return 0;                                          //Line 6


}


What is wrong with the following program? (10)


#include     //Line 1 #include           //Line 2

int main()                            //Line 3


{                                              //Line 4


string str;                             //Line 5


 std::cin >> str;                  //Line 6


cout <><>


return 0;                              //Line 8


}                                              //Line 9


May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here