I am suppose to be creating a program that uses a structure named Moviedata to store the following information about the movie: Title, Director, Year Released, running Time (in minutes).
The program should create two moviedata variables, store values in their members, and pass each one in turn to a function that displays the information about movie in a clearly formatted manner.
Then I am suppose to Modify the Movie Data progam written to include two additional members that hold the movie's production costs and first-year revenues. Modoify the funtion that displays the movie data to display the title directore release year running time and first year's profit or loss.
This is what I have so far and I don't think I am on the right track.
#include <iostream>
#include <string>
#include <sstream>
using namespace std;int main ()
structure Moviedata;
int movie title;
int movie director;
int year released;
cout << “Enter the movie title “;
cin.getline(movie title);
cout << “Director: “’
cin.getline (Director);
cout <<”Year of release:”;
cin.getline(year of release: “;
cout << Here is the information on movie”;
If anyone can give me further assistance I would greatly appreciate it. I am not doing very well.