#include<stdio.h>
#include<string.h>
int main()
{
    char str[] = "Mech B is the Best";
    printf("Enter your String:\n");
    scanf("%[^\n]",str);
    int i,j;
    for (i = 0; str[i] != '\0'; i++) 
    {
     while (str[i] >= 'a' && str[i] <= 'z') 
     {
         for (j = i; str[j] != '\0'; j++)
             {
            str[j] = str[j+1];
             }
         str[j] = '\0';
      }
   }
       printf("After removing lowercase letter string is: %s\n",str);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: