Skip to content

Instantly share code, notes, and snippets.

@joemmanuel
Created September 17, 2013 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joemmanuel/6596774 to your computer and use it in GitHub Desktop.
Save joemmanuel/6596774 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <ctype.h>
int main ()
{
int i=0;
char str[500],c;
gets(str);
while (str[i])
{
c=str[i];
putchar (toupper(c));
i++;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment