예제 #1
0
파일: Q5.c 프로젝트: dot1q/Misc
int main(){
   char word [100];
    /*Read word from the keyboard using scanf*/
    printf("Please enter a word that is less than 100 characters: ");
    scanf("%s", word);
    
    /*Call studly*/
    studly(word); 
    /*Print the new word*/
    printf("Output: %s\n", word);
    return 0;
}
예제 #2
0
파일: Q5.c 프로젝트: johnandr/OSU-Work
int main(){
    /*Read word from the keyboard using scanf*/
    char str[100];
    scanf("%s", str);
    
    /*Call studly*/
    studly(&str);
    /*Print the new word*/
    printf("%s\n", str);
    
    return 0;
}