Answer:
The answer to this question is given below in the explanation section.
Explanation:
          Â
The code is written in C++
/******************************************************************************
               Online C++ Compiler.
       Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
#include <string> Â
using namespace std;
void display()
  {
    string yourName;
    string watchedMovie;
    cout<<"What is your name?  ";
    cin>>yourName;
    cout<<"Which movie have you seen?  ";
    cin>>watchedMovie;
    cout<<"Today, I have learned that  " <<name<<" watched "<<watchedMovie<<" movie";
  }
int main()
{ Â Â
 Â
  display();
  return 0;
}
Â