ch 6/functions.c
//Function for printing small caps words for digits in between

Function for printing small caps words for digits in between
Function for printing small caps words for digits in between
void small_caps_word(int n)
{
	switch(n)
		{
			case 0:
				printf("zero ");
				break;
			case 1:
				printf("one ");
				break;
			case 2:
				printf("two ");
				break;
			case 3:
				printf("three ");
				break;
			case 4:
				printf("four ");
				break;
			case 5:
				printf("five ");
				break;
			case 6:
				printf("six ");
				break;
			case 7:
				printf("seven ");
				break;
			case 8:
				printf("eight ");
				break;
			case 9:
				printf("nine ");
				break;
		}	
}
void small_caps_word ( int n ) { switch ( n ) { case 0 : printf ( " " ) ; break ; case 1 : printf ( " " ) ; break ; case 2 : printf ( " " ) ; break ; case 3 : printf ( " " ) ; break ; case 4 : printf ( " " ) ; break ; case 5 : printf ( " " ) ; break ; case 6 : printf ( " " ) ; break ; case 7 : printf ( " " ) ; break ; case 8 : printf ( " " ) ; break ; case 9 : printf ( " " ) ; break ; } }
Function for printing small caps words for digits in between
Function for printing small caps words for digits in between