summaryrefslogtreecommitdiff
path: root/C/HF/chap7/message.c
blob: 345774c6508dcde3838df7c5e1ae6654f39d7db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>
#include "encrypt.h"

int main(void)
{
	char msg[80];
	while (fgets(msg, 80, stdin)) {
		encrypt(msg);
		printf("%s\n", msg);
	}

	return 0;
}