Académique Documents
Professionnel Documents
Culture Documents
= 2) { printf("You entered wrong number of arguments\n"); return 1; } int k = atoi(argv[1]); char repeat = 'y'; char* phrase = malloc( sizeof(char*) * (140)); while (repeat == 'y') { printf("Enter the phrase you want to encrypt(maximum 140 chars): "); scanf("%c", phrase); printf("Do you want to try again? y/n: \n"); scanf("%c", &repeat); } return 0; }