-
-
Save pasali/5190811 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* File: main.c | |
* Author: alaattin | |
* | |
* Created on 18 Mart 2013 Pazartesi, 22:23 | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
/* | |
* | |
*/ | |
int main(int argc, char** argv) { | |
char kaynak [] = "Ondokuz Mayis UNIVERSITESI 1975 SamsuN"; | |
char hedef [50]; | |
int i = 0; | |
while( kaynak [i] != '\0'){ | |
if( isupper(kaynak[i]) != 0){ | |
printf("%c\n",kaynak[i]); | |
hedef[i] = tolower(kaynak[i]); | |
} | |
i++; | |
} | |
printf("%s\n", hedef); | |
return (EXIT_SUCCESS); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment