This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
|
#include <stdio.h>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
int ch;
|
|
|
|
while (!feof(stdin))
|
|
{
|
|
ch=fgetc(stdin);
|
|
if (ch==10) fputc(13,stdout);
|
|
if (ch!=EOF) fputc(ch,stdout);
|
|
}
|
|
return 0;
|
|
} |