[text] xx

Viewer

  1. #include<stdio.h>
  2. #include<string.h>
  3. #include<ctype.h>
  4. int main()
  5. {
  6.     int i,j;
  7.     char a[110],b[300];
  8.     scanf("%s",a);
  9.  
  10.     for (i=0,j=0; i<strlen(a); i++)
  11.     {
  12.         //for (j=0; j<strlen(a); j++)
  13.         //{
  14.             if (a[i]!='a' && a[i]!='e' && a[i]!='i' && a[i]!='o' && a[i]!='u' && a[i]!='A' && a[i]!='E' && a[i]!='I' && a[i]!='O' && a[i]!= 'U')
  15.             {
  16.                 b[j]=a[i];
  17.                 j++;
  18.             }
  19.             b[j]='\0';
  20.  
  21.         //}
  22.  
  23.     }
  24.        for (j=0;j<strlen(b);j++)
  25.             {
  26.                 printf(".%c",tolower(b[j]));
  27.             }
  28.  
  29.     //printf(".%c",b);
  30.  
  31.  
  32. }
  33.  

Editor

You can edit this paste and save as new:


File Description
  • xx
  • Paste Code
  • 02 Dec-2022
  • 647 Bytes
You can Share it: