Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how to make program

0 votes
asked Nov 15, 2018 by Newbie
edited Nov 15, 2018
Get input 10 messages, then take the message to arrange by dictionary.Using merge sort

Must accept lowercase and uppercase letters and characters.

ex.

AA

aa

BB

bb

Cat

cat

1 Answer

0 votes
answered Dec 3, 2018 by Kadir (190 points)
edited Dec 3, 2018 by Kadir
#include <stdio.h>

int main()
{
    char name[80];
    for(int i=97;i<123;i++)  //lowercase
        printf("%c ",i);
        
        printf("\n");
        
    for(int i=65;i<91;i++)  //uppercase
        printf("%c ",i);
    
    
    
    printf("\n Please Enter Name \n");
    scanf("%s",name);
    
    int c=0;
    while (name[c] != '\0') {
         name[c] = name[c] - 32;
      c++;
   }
     
    printf("\n%s",name);
   
    return 0;
}
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...