Another Error

This program is not working properly, please help.

#include <iostream>
using namespace std;

int main()
{
int i, number, number1, t1, t2, t3, t4;
char Scarlett,Rhett, Ashley, Melanie, answer, Other;
cout << "GONE WITH THE WIND " << endl<<endl;

cout << "SESSION 1: How many attended this session? "<< endl;
cin >> number;
for (i = 1; i <= number; i++)
{
cout << "Choose your most interesting character "<< endl;

cout << " S for Scarlett "<< endl;
cout << " R for Rhett "<< endl;
cout << " A for Ashley "<< endl;
cout << " M for Melanie "<< endl;
cout << " anything else for another actor "<< endl<<endl<<endl;

cout << "Whom do you consider the most interesting character? A"<< endl;
cin >> answer;

}
switch (answer)
{
case 's':
case 'S':
cout << " Scarlett "<< endl;
break;
case 'r':
case 'R':
cout << "Rhett "<< endl;
break;
case 'a':
case 'A':
cout <<" Ashley "<< endl;
break;
case 'm':
case 'M':
cout << " Melanie "<< endl;
break;
default:
cout << "Other" << endl;
}


if (answer == Rhett)
t1++;
else
t1 = 0;
cout << t1 << endl;

if (answer == Ashley)
t2++;
else
t2 = 0;
cout << t2 << endl;

if (answer == Melanie)
t3++;
else
t3 = 0;
cout << t3 << endl;

if (answer == Other)
t4++;
else
t4 = 0;
cout << t4 << endl;


return 0;
}
What are you expecting the code to do?
Which parts are not behaving as you expect?

Basically: we need more info to be much help.
Topic archived. No new replies allowed.