Hi guys, hoping you can help with an assignment I'm working on. I've got most of the program working, but it's just little bits and pieces that need tying up.

Basically one part of the program requires the user to enter a character for the corresponding room type - so for a rectangular room, the user would enter R or r, and for a circular room the user would enter C or c.

I've currently got this working in a switch statement rather than an if-then-else. Here in lies the problem. One of the requirements is that when the user is ready to enter the character for the last room, he has to enter either LR/lr for the rectangular room or LC/lc for the circular room.

I have the room type variable declared as char for character, but obviously only one element would go in there. The problem is, because I'm using the switch statement, the case in the switch will only take one character for example -
case 'R':
Which does what it's supposed to. I was thinking it would also work for this -
case 'LR':

Can this work? I've researched a little using the switch, but it doesn't really say anything on using a character array in the case section, it just gives a simple example using one character or an integer.

I was wondering if there was something I was missing or a way to work around this. And also if you can use other controls within a case statement like a loop or selection? I've also attached a sample piece of the code I'm working on.

Code:
char rmType;

printf("\nPlease enter the room type: ");  
scanf("%s", &rmType);

switch (rmType) {
	case 'R': 
	case 'r':
	printf("\nEnter the length & width for the rectangular room: ");
	scanf("%d%d", &recLength, &recWidth);
	recArea = recLength * recWidth;
	recTotalArea = recTotalArea + recArea; //Running total of sq ft area
	recCost = recTotalArea * costPerSqFt;
	recCount = recCount + 1; //Keeps a count of rectangular rooms
	break;

	case 'C':
	case 'c':
	printf("\nEnter the radius for the circular room: ");
	scanf("%d", &radius);
	circArea = 3.14 * (radius * radius);
	circTotalArea = circTotalArea + circArea; //Running total of sq ft area
	circCost = circTotalArea * costPerSqFt;
	circCount = circCount + 1; //Keeps a count of circular rooms
	break;
}
Thanks for any help.
Lisa