Advertisement
Angies

Parte 1

Jan 17th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <ctype.h>
  4.  
  5. int dos(){
  6.     char nombre [50];
  7.  
  8.     printf("Palabra: ");
  9.     scanf("%s", nombre);
  10.  
  11.     if(strlen(nombre)>=10&&nombre[1]=='a'&&nombre[3]=='a'){
  12.         printf("%s", strupr(nombre));
  13.     }
  14.  
  15.  
  16.    else{
  17.     printf("No cumple");
  18.    }
  19.  
  20.     return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement