while ( text[i] != '\0' )
{
text[i] = text[i] + (key);
if( text[i] > 'z' ) text[i] = text[i] - 'z' + 'a' - 1
i++;
}
Type: Posts; User: wj.z
while ( text[i] != '\0' )
{
text[i] = text[i] + (key);
if( text[i] > 'z' ) text[i] = text[i] - 'z' + 'a' - 1
i++;
}
typedef struct node2
{
int floornumber;
struct node1 *room; // use pointer to room header
struct node2 *nextfloor;
} floor;