#Daily Programmer Challenges
###Completed By Christopher Katsaras
Compile C files using:
$ gcc -Wall 'filename'
Run:
$ ./a.out
Compile Java files using:
$ javac 'filename'
The Atbash Cipher: https://www.reddit.com/r/dailyprogrammer/comments/45w6ad/20160216_challenge_254_easy_atbash_cipher/
Takes as many command line arugments as desired e.g
INPUT: ./a.out gsrh rh zm vcznkov lu gsv zgyzhs xrksvi OUTPUT: this is an example of the atbash cipher
The Game of Threes https://www.reddit.com/r/dailyprogrammer/comments/3r7wxz/20151102_challenge_239_easy_a_game_of_threes/
e.g
INPUT: Please input your number 31337357
OUTPUT:
31337357 1
10445786 1
3481929 0
1160643 0
386881 -1
128960 1
42987 0
14329 -1
4776 0
1592 1
531 0
177 0
59 1
20 1
7 -1
2 1
1
The VHS Recorder: https://www.reddit.com/r/dailyprogrammer/comments/3u6o56/20151118_challenge_242_intermediate_vhs_recording/
e.g for C
Welcome to the VHS recording scheduler
Please input the number of television shows on the schedule (i.e 5)
Now enter your shows one at a time in the following format 1230 1320 and hit Enter
*PLEASE ENSURE TIME IS ENTERED IN MILITARY TIME!
INPUT SHOW 1:
1530 1600
INPUT SHOW 2:
1555 1645
INPUT SHOW 3:
1600 1630
INPUT SHOW 4:
1635 1715
Shows you can watch!
1530 1600
1600 1630
1635 1715
e.g for Java
Welcome to the VHS Schdeuler
Please input the number of shows available
3
Please enter the start time of show: 1
1200
Please enter the end time of show: 1
1300
Please enter the name of show: 1
Star Wars
Please enter the start time of show: 2
1230
Please enter the end time of show: 2
1420
Please enter the name of show: 2
Family Guy
Please enter the start time of show: 3
1600
Please enter the end time of show: 3
1720
Please enter the name of show: 3
Spongebob
LIST OF SHOWS:
1200 1300 Star Wars
1230 1420 Family Guy
1600 1720 Spongebob
SHOWS YOU CAN WATCH:
1200 1300 Star Wars
1600 1720 Spongebob