All pastes #419264 Raw Edit

Something

public c v1 · immutable
·published 2007-04-01 05:30 UTC
rendered paste body
/*@FILENAME: leet.c@AUTHOR: Brendan Scarvell@DESCRIPTION:					- Leet speak convertor*/#include <stdio.h>#include <string.h>int main(void){ // Not needing to send any arguments to the program	int i = 0; // i is the loop count for the loop	char szInput[50];	int nStrLen;		printf("Please enter a string to convert: ");	scanf("%s",szInput);		 nStrLen = strlen(szInput);		printf("Result\\> ");	while(i < nStrLen){		switch(szInput[i]){			case 'o':			case 'O':				printf("0");				break;						case 'i':			case 'I':				printf("1");				break;							case 'e':			case 'E':				printf("3");				break;						case 'b':			case 'B':				printf("8");				break;						default:				printf("%c",szInput[i]);				break;		}		i++;	}	printf("\n\n");	return 0;}