#include <safe-c.h>

void main(void)
{
  string_type s;
  integer_type n;

  put_string("Welcome to LOWER.\n");
  put_string("Please enter a string:\n");
  get_string(s);

  n = 0;
  while (s[n] != 0)
   {
   if ((s[n] >= 'A') && (s[n] <= 'Z'))
     s[n] = s[n] + 'a' - 'A';
   n++;
  }


  put_string("Here is the converted string:\n");
  put_string(s);
}
