Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

# include <iostream> using namespace std; int main () { char name[60]; int adult

ID: 3613834 • Letter: #

Question

# include <iostream>
using namespace std;
int main ()
{
   char name[60];
   int adult;
   int child;

   int a=6;
   int c=3;
   int gross = (adult*6)+ (child * 3) ;
   int net = gross % 20;
   int distributor = gross - net;

   cout << "Movie name: ";
   cin.getline(name, 60);
   cout << "You entered " << name<< endl;
   cout << " Adult ticket sold: ";
   cin >> adult;
   cout << " Child ticket sold : ";
   cin >> child;
   cout << " Gross Box Office Profit:"<< gross << endl;
   cout << " Net Box Office Profit: "<< net << endl;
   cout << " Amount paid to distributor : "<< distributor << endl;
   return 0;
}

Explanation / Answer

please rate - thanks try this # include #include using namespace std; int main () {     char name[60];     int adult;     int child;     cout adult;     cout > child;     int gross = (adult*6)+ (child * 3) ;     double net = gross* .20;     double distributor = gross - net;     cout