//C++ Code
#include<iostream>
using namespace std;
int main()
{
int ch;
cout<<"Enter the grade number: ";
cin>>ch;
switch(ch)
{
case 0: cout<<"Not allowed to take part in the
play"<<endl;
break;
case 1: cout<<"The Cost of Outfit for Grade 1 pupils is
"<<45<<endl;
break;
case 2: cout<<"The Cost of Outfit for Grade 2 pupils is
"<<45<<endl;
break;
case 3: cout<<"The Cost of Outfit for Grade 3 pupils is
"<<65<<endl;
break;
case 4: cout<<"The Cost of Outfit for Grade 4 pupils is
"<<65<<endl;
break;
case 5: cout<<"The Cost of Outfit for Grade 5 pupils is
"<<65<<endl;
break;
case 6: int k;
cout<<"Total number of roles: ";
cin>>k;
if(k==1)
{
int ld;
cout<<"Type 1 for lead role or 0 for normal role: ";
cin>>ld;
if(ld==1)
cout<<"The Cost of Outfit for Grade 6 pupils is
"<<100<<endl;
else
cout<<"The Cost of Outfit for Grade 6 pupils is
"<<70<<endl;
}
else if(k==2)
cout<<"The Cost of Outfit for Grade 6 pupils is
"<<130<<endl;
break;
case 7: cout<<"Total number of roles: ";
cin>>k;
if(k==1)
{
int ld;
cout<<"Type 1 for lead role or 0 for normal role: ";
cin>>ld;
if(ld==1)
cout<<"The Cost of Outfit for Grade 7 pupils is
"<<100<<endl;
else
cout<<"The Cost of Outfit for Grade 7 pupils is
"<<70<<endl;
}
else if(k==2)
cout<<"The Cost of Outfit for Grade 7 pupils is
"<<130<<endl;
break;
default: cout<<"Grade number wrong input"<<endl;
}
return 0;
}
Output 2:
Output 3:
Parents of the pupils of the Park Primary School must pay an amount for outfits for...
Parents of the pupils of the Park Primary School must pay an amount for outfits for the annual play. All pupils take part in the play, except the Grade 0 pupils. The amount that the parents have to pay is calculated as follows: • The cost of the outfits for Grade 1 and 2 pupils is R45 • The cost of the outfits for Grades 3 to 5 is R65 • Grade 6 and 7 pupils may play one or...
Parents of the pupils of the Park Primary School must pay an amount for outfits for the annual play. All pupils take part in the play, except the Grade O pupils. The amount that the parents have to pay is calculated as follows: The cost of the outfits for Grade 1 and 2 pupils is R45 The cost of the outfits for Grades 3 to 5 is R65 Grade 6 and 7 pupils may play one or two roles. If...
Parents of the pupils of the Park Primary School must pay an amount for outfits for the annual play. All pupils take part in the play, except the Grade 0 pupils. The amount that the parents have to pay is calculated as follows: The cost of the outfits for Grade 1 and 2 pupils is R45 The cost of the outfits for Grades 3 to 5 is R65 Grade 6 and 7 pupils may play one or two roles. If...
Parents of the pupils of the Park Primary School must pay an amount for outfits for the annual play. All pupils take part in the play, except the Grade 0 pupils. The amount that the parents have to pay is calculated as follows: • The cost of the outfits for Grade 1 and 2 pupils is R45 • The cost of the outfits for Grades 3 to 5 is R65 • Grade 6 and 7 pupils may play one or...
QUESTION 1 12 marks Parents of the pupils of the Park Primary School must pay an amount for outfits for the annual play. All pupils take part in the play, except the Grade O pupils. The amount that the parents have to pay is calculated as follows: The cost of the outfits for Grade 1 and 2 pupils is R45 The cost of the outfits for Grades 3 to 5 is R65 Grade 6 and 7 pupils may play one...
QUESTION 2 [12] Parents of the pupils of the Park Primary School must pay an amount for outfits for the annual play. All pupils take part in the play, except the Grade 0 pupils. The amount that the parents have to pay is calculated as follows: . The cost of the outfits for Grade 1 and 2 pupils is R45. The cost of the outfits for Grades 3 to 5 is R65. Grade 6 and 7 pupils may play one...
SECTION B 80 MARKS QUESTION 1 12 marks Parents of the pupils of the Park Primary School must pay an amount for outfits for the annual play. All pupils take part in the play, except the Grade 0 pupils. The amount that the parents have to pay is calculated as follows: The cost of the outfits for Grade 1 and 2 pupils is R45 The cost of the outfits for Grades 3 to 5 is R65 Grade 6 and 7...
SECTION B 80 MARKS QUESTION 1 12 marks Parents of the pupils of the Park Primary School must pay an amount for outfits for the annual play. All pupils take part in the play, except the Grade O pupils. The amount that the parents have to pay is calculated as follows: The cost of the outfits for Grade 1 and 2 pupils is R45 The cost of the outfits for Grades 3 to 5 is R65 Grade 6 and 7...
SECTION B 80 MARKS QUESTION 1 12 marks Parents of the pupils of the Park Primary School must pay an amount for outfits for the annual play. All pupils take part in the play, except the Grade 0 pupils. The amount that the parents have to pay is calculated as follows: The cost of the outfits for Grade 1 and 2 pupils is R45 The cost of the outfits for Grades 3 to 5 is R65 Grade 6 and 7...
please answer #2 The Stratton Township Park The Stratton Township Park is located on a piece of property that contains two golf courses, a swimming pool, and 800 acres of woods and open spaces. Three years ago, the Stratton Parks Department (Stratton) carved out miles of trails to allow visitors to hike the property and enjoy nature. To make that experience more enjoyable for visitors and available to school groups, Stratton decided to offer guided tours that have proven popular....