Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- char letra;
- char oracion;
- printf("Ingrese el caracter a buscar:n");
- letra=getchar();
- getchar();
- printf("Ingrese la oracion:n");
- oracion=getchar();
- getchar();
- while(oracion!='.'){
- if(oracion==letra){
- oracion='+';
- printf("%c", oracion);
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement