Answer:
// This program is written in C++
// Comments are used for explanatory purpose
#include<iostream>
using namespace std;
int main()
{
// Declare variables
int childticket, adultticket, childprice, adultprice;
double total, net, distributor;
string movie;
// Prompt user for name of movie
cout<<"Movie Name; ";
// Accept input for movie name
cin>>movie;
// Prompt user and accept input for price of adult tickets
cout<<"Adult Ticket Price: $";
cin>>adultprice;
// Prompt user and accept input for price of child tickets
cout<<"Child Ticket Price: $";
cin>>childprice;
// Prompt user and accept input for number of sold adult tickets
cout<<"Adult Ticket Sold: ";
cin>>adultticket;
// Prompt user and accept input for number of child tickets sold
cout<<"Child Ticket Sold: ";
cin>>childticket;
// Calculate total
total = childticket * childprice + adultticket * adultprice;
// Calculate distributor's payment
distributor = 0.25 * total;
// Calculate net box pay
net = 0.75 * total;
// Display and format results
cout<<"Gross Box Office Revenue: $";
printf("%.2f",total);
cout<<"\n Amount Paid to Distributor: -$";
printf("%.2f", distributor);
cout<<"\nNet Box Office Revenue: $";
printf("%.2f",net);
return 0;
}