Anonymous
public text v1 · immutable#include <stdio.h>
#include <stdlib.h>
void encrypt(char *s, int shift);
int main()
{
int shift;
char line[80];
puts("Enter the number of shifts you want to make up or down.");
scanf("%d", &shift);
puts("Enter the string to want to shift.");
fgets(line, sizeof(line), stdin);
encrypt(line, shift);
return 0;
}