SHARE
TWEET

Untitled

a guest Jul 19th, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int main()
  2. {
  3.     char letra;
  4.     char oracion;
  5.  
  6.  
  7.     printf("Ingrese el caracter a buscar:n");
  8.     letra=getchar();
  9.     getchar();
  10.  
  11.     printf("Ingrese la oracion:n");
  12.     oracion=getchar();
  13.     getchar();
  14.  
  15.  
  16.     while(oracion!='.'){
  17.         if(oracion==letra){
  18.             oracion='+';
  19.             printf("%c", oracion);
  20.         }
  21.     }
  22.  
  23.  
  24.     return 0;
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top