Capital letter.
#7

Here you are

Код:
CapitalLetter(Text[])
{
	for(new i = 0; i < strlen(Text); i++)
	{
		if(Text[i] >= 'a' && Text[i] <= 'z')
		{
		    Text[i] -= 'a' - 'A';
		}
		else
		{
			switch (Text[i])
			{
				case 'а', 'в' :
				{
					Text[i] = 'A';
				}
				case 'й', 'и', 'к':
				{
					Text[i] = 'E';
				}
				case 'о' :
				{
					Text[i] = 'I';
				}
				case 'ф' :
				{
					Text[i] = 'O';
				}
				case 'щ', 'ы' :
				{
					Text[i] = 'U';
				}
				case 'з' :
				{
					Text[i] = 'C';
				}
			}
		}
	}
        return Text;
}
Max
Reply


Messages In This Thread
Capital letter. - by Noliax8 - 02.05.2013, 09:40
Re: Capital letter. - by Pro_Drifter - 02.05.2013, 09:45
Re: Capital letter. - by Ciandlah - 02.05.2013, 09:45
Re : Capital letter. - by Noliax8 - 02.05.2013, 10:01
Re: Capital letter. - by Ciandlah - 02.05.2013, 10:02
Re : Capital letter. - by Noliax8 - 02.05.2013, 10:18
Re : Capital letter. - by scott1 - 02.05.2013, 10:21
Re : Capital letter. - by Noliax8 - 02.05.2013, 10:44
Re: Capital letter. - by fordawinzz - 02.05.2013, 10:47
Re: Capital letter. - by thefatshizms - 02.05.2013, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)