home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C Programming Starter Kit 2.0
/
SamsPublishing-CProgrammingStarterKit-v2.0-Win31.iso
/
tyc
/
list1713.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-16
|
380b
|
22 lines
/* The character conversion functions strlwr() and strupr(). */
#include <stdio.h>
#include <string.h>
main()
{
char buf[80];
while (1)
{
puts("Enter a line of text, a blank to exit.");
gets(buf);
if ( strlen(buf) == 0 )
break;
puts(strlwr(buf));
puts(strupr(buf));
}
}