Questions tagged [cipher]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
30 views

Caesar question chapter2

// k is between 1 and 26 for (int i = 0, n = strlen(s); i < n; i++) { // only for capital letters if (s[i] >= 'A' && s[i] <= 'Z') int dif = 'Z' - s[i]; ...
0
votes
1answer
484 views

I have the error of :( handles non numeric key - timed out while waiting for program to exit in Problem Set 2 Caesar

I have the error occured. May I know wheres the issue & where to add or remove the code? I'm new to the this. Thank You in advanced. #include <stdio.h> #include <stdlib.h> #include &...
0
votes
1answer
62 views

Error in my submission for CS50 Pset2 Caesar. New line placement is wrong

#include <cs50.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> int main(int argc, string argv[]) { //Check if there is 1 command-line ...
0
votes
2answers
15 views

program is compiling but not getting output..please help!

#include<stdio.h> #include<cs50.h> #include<stdlib.h> #include<string.h> #include<ctype.h> int main(int argc, string argv[]) { if (argc != 2) { printf("...
0
votes
1answer
43 views

vigenere output

Ok. I've been working on this for two days now and have checked various types of answers on here, but I'm not sure what's wrong with my code. I think maybe I need a fresh pair of eyes, or my equation ...